From: Nikolai Weibull Date: 2011-01-31T19:49:20+09:00 Subject: [ruby-core:35021] Re: Understanding realpath_rec behavior On Mon, Jan 31, 2011 at 11:40, Luis Lavena wrote: > On Mon, Jan 31, 2011 at 7:28 AM, Nikolai Weibull wrote: >> >> If this behavior has to stay, then at least cache the results. > Can you provide more details on why it needs to stay? IF it has to stay���that is, if someone say that it has to stay. > Rails generate more 500 file requires, which could lead to several > stat() invocations for each part of the path, not counting deep > folders worse than my example. We are in complete agreement.