⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
«
Previous
|
Next
»
Revision 9c6deac2
Added by
ko1 (Koichi Sasada)
over 9 years
ago
ID
9c6deac2d1ea29002f4af33b9c1c15aa2d4c34b7
Parent
969057c9
Child
a7361f9c
vm_core.h: add rb_thread_t::local_storage_recursive_hash
to speed up Thread#[:
recursive_key
] access.
[Bug
#10511
]
thread.c (threadptr_local_aref): add fast path for
:
recursive_data
.
thread.c (threadptr_recursive_hash, threadptr_recursive_hash_set):
add special accessor for recursive hash.
cont.c: store/restore local_storage_recursive_hash.
vm.c: init and mark local_storage_recursive_hash.
vm_trace.c (rb_threadptr_exec_event_hooks_orig): clear and restore
local_storage_recursive_hash directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Related issues
Bug #10511
: fix for #9940 causes dramatic performance regression
Loading...
to speed up Thread#[:recursive_key] access.
[Bug #10511]
:recursive_data.
add special accessor for recursive hash.
local_storage_recursive_hash directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e