From: Ryan Davis Date: 2011-05-07T06:36:46+09:00 Subject: [ruby-core:36032] Re: require performance on 1.9 On May 4, 2011, at 16:23 , Xavier Shay wrote: > On 3/05/11 9:03 PM, Xavier Shay wrote: >> I have tracked down the remaining performance loss from the above graph >> to load.c:152. On every require, StringValuePtr is called on every >> loaded feature. ruby18 does this also, but my hunch is this is more >> expensive in 1.9 perhaps because of encoding or something? >> >> Can loaded_features ever shrink? Can a value in loaded_features change? >> Is there a sane way to cache this value? > > Can anyone shed some light on any of these? I'm really keen to work on this I just need a pointer in the right direction. Matz/ko1/nobu: ping Can someone please look into this?