31 Jan
2011
31 Jan
'11
7:33 a.m.
Maybe also
* Read and cache the directory contents and search it ourselves instead of making a system call for every possible name.
I wouldn't do that - I would expect that this is actually slower than making the system calls, because the system might get away with not reading the entire directory (whereas it will have to when we explicitly ask for that). Regards, Martin