diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-08 19:38:22 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-08 19:38:22 +0000 |
commit | 27f9e70795e500cb934395bf17446533b8e41f76 (patch) | |
tree | 4285553eb99c6d3097a8a009ef12b93d22cbc285 /ChangeLog | |
parent | 66d09c6d12109df49e7855207094555ec01345fb (diff) | |
download | ruby-27f9e70795e500cb934395bf17446533b8e41f76.tar.gz |
vm_core.h (rb_env_t): use flexible array
* vm_core.h (rb_env_t): use flexible array
This reduces allocations and speeds up the lambda calculus
fizzbuzz (bm_app_lc_fizzbuzz.rb) benchmark [ruby-core:64858]
* proc.c (get_local_variable_ptr): deconst to adjust for flex array
* vm.c (env_mark, env_free, env_memsize): remove check for env->env
* vm.c (env_alloc): single allocation for flex array
* vm.c (vm_make_env_each): adjust env_alloc call
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Tue Sep 9 04:36:24 2014 Eric Wong <e@80x24.org> + + * vm_core.h (rb_env_t): use flexible array + This reduces allocations and speeds up the lambda calculus + fizzbuzz (bm_app_lc_fizzbuzz.rb) benchmark [ruby-core:64858] + * proc.c (get_local_variable_ptr): deconst to adjust for flex array + * vm.c (env_mark, env_free, env_memsize): remove check for env->env + * vm.c (env_alloc): single allocation for flex array + * vm.c (vm_make_env_each): adjust env_alloc call + Mon Sep 8 16:08:22 2014 Koichi Sasada <ko1@atdot.net> * benchmark/bm_app_lc_fizzbuzz.rb: should skip output on benchmark. |