On Sun, Jan 30, 2011 at 03:01, Luis Lavena <luislavena / gmail.com> wrote: > For example: > > (with cwd been C:\Users\Luis\Projects\oss\oci\rubyinstaller\sandbox) > > irb> File.realpath('foo.rb') > > Will generate 7 lstat() requests -- in our case winnt_stat -- each one > for a part of the path: If this behavior has to stay, then at least cache the results.