Subj : sweep To : Lesha Tsoorgaev From : Eddy Thilleman Date : Wed Mar 21 2001 02:22 am Hello Lesha, Monday 19 March 2001 10:55, Lesha Tsoorgaev wrote to Eddy Thilleman: LT> I think it is possible, that SysFileTree and OS/2 DOS support are LT> simply caching directory search and do not call LT> DosFindFirst/DosFindNext for every filename. These functions allow to LT> request information about ~64K filenames at once, and IMHO this can LT> result in speeding up the process greately. Why not for the OS/2 version, I don't know. LT> While SysFileTree is obviously must use such a technique, I am in LT> doubt if OS/2 DOS support does so actually. Try to replace running LT> external programs with somewhat fast enough (may be without any LT> output) to figure out if the main brake is FindFirst/FindNext or not. I used just the 'cd' command to test this, that's fast enough I think. :) I haven't had time to investigate this further in the meantime, but I'm also out of ideas about this. I should problably investigate this further at the OS/2 API level, when I've time. Greetings -=Eddy=- email: e.thilleman@freeler.nl e.thilleman@hccnet.nl .... A computer cuts your work in half and gives you back the bloody ends. --- GoldED/2 3.0.1 * Origin: Programmers don't die, they just GOSUB without RETURN (2:280/5143.7) .