Project

General

Profile

« Previous | Next » 

Revision 215eb86a

Added by byroot (Jean Boussier) over 5 years ago

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