Hacker News new | past | comments | ask | show | jobs | submit login

I'm sure the people who made those optimisations took very good benchmarks before they made them. And, most likely, they do work under the right circumstances.

However, to make a generalisation/optimisation of my own, in 99% of the cases, trying to write overly clever code like that is a waste of time and does not result in faster code - though it does obscure your code and make it harder to optimise later when you actually need to. It would probably be better for 90+% of the people who will stumble on this article to never have read it.




"I'm sure the people who made those optimisations took very good benchmarks before they made them."

Hah, good one! Very funny!


Well, Rusty is not exactly a n00b, so that's not a joke, really.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: