* load.c (rb_get_expanded_load_path): It is said that require is
slow. Yusuke Endoh's investigation pointed out that the
expand_path operation in this function is called over and over
and over again, which effectively emits tons of lstat-variant
system calls. To prevent it, lets cache the expanded path. TODO
it lacks cache invalidation for now (I doubt if it really
Loading branch information...
May 31, 2011