From f44b0e5b4fbeb58fa1b5cff2be44c359f9438cf7 Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 11 Oct 2013 11:45:38 +0000 Subject: * 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 --- ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 40222351df..922d3f4081 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +Fri Oct 11 20:35:59 2013 Koichi Sasada + + * 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 * misc/ruby-electric.el: Import ruby-electric.el 2.0.1 which fixes -- cgit v1.2.3