4 ms·
I'm marginally surprised nobody's used ropes for Ruby previously; this is something that was done in the first few years for all the JS VMs* given it provides p
by gsnedders 8y ago
I'm marginally surprised nobody's used ropes for Ruby previously; this is something that was done in the first few years for all the JS VMs* given it provides pretty sizeable perf gains (because string concatenation is so common), and this seems to show it's true for much Ruby code too.
*: to be pedantic, Carakan never did use ropes, just lazily concatenating strings for some operations.
(And now I wait for someone who worked on this to tell me why they didn't do it sooner. :))