diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-05-28 12:33:53 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-06-03 16:13:47 +0900 |
commit | 054c2fdfdfe9d43c3ae4ba508bb419c3e9db015f (patch) | |
tree | e4e4199a4ac74cffa00ab812ba132bbc4a02ecc2 /benchmark | |
parent | 36322942dbce6dedaf67626b152dbf893d42e082 (diff) |
vm_invoke_symbol_block: reduce MEMCPY
This commit changes the number of calls of MEMCPY from...
| send | &:sym
-------------------------|-------|-------
Symbol already interned | once | twice
Symbol not pinned yet | none | once
to:
| send | &:sym
-------------------------|-------|-------
Symbol already interned | once | none
Symbol not pinned yet | twice | once
So it sacrifices exceptional situation for normal path.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3152
Diffstat (limited to 'benchmark')
0 files changed, 0 insertions, 0 deletions