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

> a textbook example of premature microoptimisation

No, this is textbook optimization

Benchmarks showed a positive gain -> that's a real optimization, not premature at all.

Premature optimization is when you guess than a change will make things better without measuring. As soon as you measure it becomes real optimization work, not premature at all. As in, this is how you're supposed to make things better.

Feel free to debate the merits of their benchmarkmark, but this is a textbook example of Doing Performance Correctly otherwise.




> Benchmarks showed a positive gain

But this gain of 1-2% is balanced with author's 50% performance loss. I guess it means that the benchmark results here depend on choice of tested applications. If they had used more multithread .NET applications, the tests could show a performance degradation as well.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: