luislavena/fenix — pull request #2 by shirosaki (2012-02-06 10:29:24+00:00)
Title: Remove GetFileAttributesW for performance

Thank you for timing result.
I tried rails startup bench with `to_long_name` = 1. Startup is faster if removing GetFileAttributesW at my benchmark.

According to Yura's cached-lp result, expand_path is called against load_path many times. And load_path is existing path. GetFileAttributesW is just overhead for existing path. So removing would be better when cached-lp is not enabled.