diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-11 11:45:38 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-11 11:45:38 +0000 |
commit | f44b0e5b4fbeb58fa1b5cff2be44c359f9438cf7 (patch) | |
tree | c40e617a9dcc062f5ffdfde5ecc8ea53addc409f /ChangeLog | |
parent | 73e014407f6a464284ac76c44a6985ea64a089e1 (diff) | |
download | ruby-f44b0e5b4fbeb58fa1b5cff2be44c359f9438cf7.tar.gz |
* gc.c, parse.y: support generational Symbol relatetd marking.
Each symbols has String objects respectively to represent
Symbols.
These objects are marked only when:
* full marking
* new symbols are added
This hack reduce symbols (related strings) marking time.
For example, on my Linux environment, the following code
"20_000_000.times{''}"
with 40k symbols (similar symbol number on Rails 3.2.14 app,
@jugyo tells me) boosts, from 7.3sec to 4.2sec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,19 @@ +Fri Oct 11 20:35:59 2013 Koichi Sasada <ko1@atdot.net> + + * gc.c, parse.y: support generational Symbol relatetd marking. + Each symbols has String objects respectively to represent + Symbols. + These objects are marked only when: + * full marking + * new symbols are added + This hack reduce symbols (related strings) marking time. + For example, on my Linux environment, the following code + "20_000_000.times{''}" + with 40k symbols (similar symbol number on Rails 3.2.14 app, + @jugyo tells me) boosts, from 7.3sec to 4.2sec. + +` * internal.h: change prototype of rb_gc_mark_symbols(). + Fri Oct 11 19:27:22 2013 Akinori MUSHA <knu@iDaemons.org> * misc/ruby-electric.el: Import ruby-electric.el 2.0.1 which fixes |