diff options
author | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-11 06:38:42 +0000 |
---|---|---|
committer | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-11 06:38:42 +0000 |
commit | bd892d05ed0565526c26b3e126a469e19865107b (patch) | |
tree | 3bd356e9e39ffd8c1b41dcf72e812677715b2de7 /ChangeLog | |
parent | 3e6cae687c34b2855b20631c0914f7dbe41e49fe (diff) | |
download | ruby-bd892d05ed0565526c26b3e126a469e19865107b.tar.gz |
compile.c: add opt_aset instruction for faster Hash#[]= and Array#[]=
* compile.c (iseq_specialized_instruction): emit opt_aset instruction
to optimize Hash#[]= and Array#[]= when called with Fixnum argument.
[Bug #9227] [ruby-core:58956]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Wed Dec 11 15:36:15 2013 Aman Gupta <ruby@tmm1.net> + + * compile.c (iseq_specialized_instruction): emit opt_aset instruction + to optimize Hash#[]= and Array#[]= when called with Fixnum argument. + [Bug #9227] [ruby-core:58956] + Wed Dec 11 12:38:17 2013 Koichi Sasada <ko1@atdot.net> * eval.c (rb_raise_jump): pop frame after setup exception. |