[PATCH 1 of 3] Add a new function, filesystem_case

Dirkjan Ochtman dirkjan at ochtman.nl
Wed Apr 23 17:16:28 CDT 2008


Paul Moore wrote:
> That's my big concern, too. The problem with Alexander's suggestion (I
> tried it) is that win32api.FindFiles only works on the leaf name, so
> you end up having to do all the directory recursion yourself in any
> case. The end result was that the generic version wasn't really any
> cheaper (in lines of code, at least - like you, I don't have hard
> timing numbers to back this up).

Would it be very hard to at least come up with some ballparks on what 
this will cost in terms of performance for some common commands? If it's 
very expensive, maybe this stuff should be made optional somehow.

Cheers,

Dirkjan



More information about the Mercurial-devel mailing list