diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-11 21:57:34 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-11 21:57:34 +0000 |
commit | a4a2b9be7a55bb61d17cf9673ed0d2a93bb52d31 (patch) | |
tree | 8eabcd8f8446112308d18f4d0db58e5a59e9edeb /ChangeLog | |
parent | a8ec4b2cf27739b9936f4eca71e0bd8dbd250fdc (diff) | |
download | ruby-a4a2b9be7a55bb61d17cf9673ed0d2a93bb52d31.tar.gz |
string.c (Init_frozen_strings): use st_init_table_with_size
All symbols have an fstring entry, and we initialize symbol tables
with 1000 bins. This reduces resizes during startup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Fri Sep 12 06:55:40 2014 Eric Wong <e@80x24.org> + + * string.c (Init_frozen_strings): use st_init_table_with_size + Fri Sep 12 06:15:37 2014 NARUSE, Yui <naruse@ruby-lang.org> * string.c (sym_find): remove Symbol.find because we have Symbol GC now. |