On 20/12/2005, at 21.13, Gerd Knops wrote:
TextMate process performs 3432(!!!) lstat calls. For each file in my (static) project it does a lstat for every single path component, eg for the file /a/b/c/d it performs lstat calls for / a, /a/b, /a/b/c and /a/b/c/d. And the root of my project starts 6 levels deep in the file system...
Perhabs some optimization is possible here, by statting recusively. Of course I don't know how Allan does this, and it might be through higher level calls.
-- Sune.