Hacker News new | ask | show | jobs
by sandrot 5795 days ago
Totally agree that benchmarks should be taken with a grain of salt. I was scanning the ruby docs for Array and saw shift(n) so I thought it'd be fun to try it.

I'm pretty ignorant about how the GC affects these benchmarks - I'd like to investigate that further in the future.