3 ms·
Shouldn't some of those items be opened as a ticket to Ruby 2.x and standard library to ask them for a faster implementation?
by diminish 11y ago
Shouldn't some of those items be opened as a ticket to Ruby 2.x and standard library to ask them for a faster implementation?
- chrisseaton 11y agoYes a lot of these can be solved - JRuby+Truffle for example removes the overhead of at least parallel assignment vs normal assignment, define_method vs def, send vs normal send, Proc#call vs yield. Some of the others though, such as Array#bsearch vs Array#find, are just algorithmic complexity and not the fault of the implementation.