summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/shared
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2020-01-15 14:40:01 +0100
committer卜部昌平 <shyouhei@ruby-lang.org>2020-02-06 10:38:21 +0900
commit26ffd6e409fad94b3a24420156ab4b2897732cbc (patch)
treea01a0f49f7f1a87a352657049dca69a61915c73e /spec/ruby/core/array/shared
parent940cd3b916063338d83f8308086b6e89b1504900 (diff)
Increase the frozen_strings table initial size
It was set to 1000 in a4a2b9be7a55bb61d17cf9673ed0d2a93bb52d31. However on ruby-2.7.0p0, there are much more than 1k frozen string right after boot: ``` $ ruby -robjspace -e 'p ObjectSpace.each_object(String).select { |s| s.frozen? && ObjectSpace.dump(s).include?(%{"fstring":true})}.uniq.count' 5948 ```
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2841
Diffstat (limited to 'spec/ruby/core/array/shared')
0 files changed, 0 insertions, 0 deletions