On Tue, Apr 16, 2013 at 7:40 PM, Charles Nutter <headius / headius.com> wrote=
:
> On Apr 16, 2013, at 4:34 AM, Aman Gupta <ruby / tmm1.net> wrote:
>
>>  r39875: reduce allocations in forwardable.rb
>>  r39874: reduce long-lived ruby strings in loaded_features_index
>
> I'm curious=85what's the problem with having long-lived strings?
>
>>  r39644: reduce long-lived arrays in loaded_features_index
>
> =85and long lived-arrays=85

Higher GC cost (increased pause times given the current stop-the-world
mark implementation).

In the loaded_features_index case, several hundred thousand object
slots were being used for data that was never exposed to ruby code.
The original patches are in http://bugs.ruby-lang.org/issues/8048

  Aman

>
> - Charlie
>
>