-
- Downloads
Optimization for fexist() and fexistcase() when neither * nor ? is present
on the passed path... For fexist() simply return TRUE if access()!=-1 && !isdir() For fexistcase() *try* the access()/isdir() method first, then do the full search. Should make a reasonable difference. Profileing suggests that iniFileName() is quite slow due to the fexistcase() calls. As the general case is that the passed path is correct, this should speed up most calls to fexist*().
Please register or sign in to comment