From: Luis Lavena Date: 2011-01-31T19:40:28+09:00 Subject: [ruby-core:35020] Re: Understanding realpath_rec behavior 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? 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. There is no room for keeping this cache in memory, and why we should? -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup�ry