diff options
author | tarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-11 12:50:38 +0000 |
---|---|---|
committer | tarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-11 12:50:38 +0000 |
commit | 44916ec448373c56b02a8430da7f87af7febfe0f (patch) | |
tree | 94e8ea351d2be63dac3c3918b4005a12f6e9b79f /vm_insnhelper.c | |
parent | ac8c23f1b5494a968d299b4b625449348f385eca (diff) | |
download | ruby-44916ec448373c56b02a8430da7f87af7febfe0f.tar.gz |
* compile.c (iseq_compile_each): share InlineCache during same
instance variable accesses. Reducing memory consumption,
rasing cache hit rate and rasing branch prediction hit rate
are expected. A part of [Bug #12274].
* iseq.h (struct iseq_compile_data): introduce instance
variable IC table for sharing.
* iseq.c (prepare_iseq_build, compile_data_free):
construct/destruct above table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
0 files changed, 0 insertions, 0 deletions