In reply to:

a couple of extra lines of code in the ext2 filesystem name matcher may speed up database builds/etc. a little.


I found this, and don't see how that helps - in the music directories, the last character will terminate the match about 50% of the time (as half the files end in 0 and half in 1], whereas the first character will terminate the match between 70% (if I have files up to, say, 1FF) and 93% (if I have up to, say, FFF). So how does this change improve the speed? I'm sure I've missed something that should be obvious - but what?

If the cost of calling memcmp is really so great, wouldn't it be better to inline it completely?
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)