Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If html rendering is really a big bottleneck, a bytearray could be even faster, provided you accept the compromise of manipulating encoded strings. And a rope for even more perfs.

But yes, benchmarks are very much necessary.



I’ve learned quite quickly that you never do any performance job without profiling. Never! Even if the optimisation looks straightforward.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: