cvs commit: src/sys/fs/msdosfs msdosfs_conv.c

Nate Lawson nate at root.org
Tue Feb 8 00:08:31 PST 2005


Nate Lawson wrote:
> njl         2005-02-08 07:51:14 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/fs/msdosfs       msdosfs_conv.c 
>   Log:
>   Unroll the loop for calculating the 8.3 filename checksum.  In testing
>   on my P3, microbenchmarks show the unrolled version is 78x faster.  In
>   actual use (recursive ls), this gives an average of 9% improvement in
>   system time and 2% improvement in wall time.
>   
>   Revision  Changes    Path
>   1.39      +14 -5     src/sys/fs/msdosfs/msdosfs_conv.c

I also tested this version in usermode on some candidate strings to be 
sure its output matches the original version.  The mbnambuf functions 
are my next victim.

-- 
Nate


More information about the cvs-all mailing list