New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: reduce number of memory allocations for small arrays #5339
Conversation
It would be nice to see some numbers on whether we see an improvement. The MRI one was pretty impressive. |
Memory allocations are lower which is good, because a temporal hash is eliminated. |
ok, some numbers... sometimes there's an improvement, but it's barely measurable [] & []
[] | []
[] - []
memory profile & (org.jruby.RubyHash is gone) jruby
patch
|
https://bugs.ruby-lang.org/issues/13884