5/22/2025 at 5:40:44 PM
> I’ve been interested in speeding up allocations for quite some time. We know that calling a C function from Ruby incurs some overhead, and that the overhead depends on the type of parameters we pass.> it seemed quite natural to use the triple-dot forwarding syntax (...).
> Unfortunately I found that using ... was quite expensive
> This lead me to implement an optimization for ... .
That’s some excellent yak shaving. And speaking up … in any language is good news even if allocation is not faster.
by hinkley
5/23/2025 at 5:02:47 AM
Thank you! Wish it had panned out for Class#new, but I don't feel bad about doing it. :)by tenderlove
5/23/2025 at 11:23:36 AM
Giving new its own instruction makes sense.by hinkley