Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
BiteCode_dev
· 3y ago · 0 comments
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.
Comments
[–]
ploum
3y ago
I’ve learned quite quickly that you never do any performance job without profiling. Never! Even if the optimisation looks straightforward.