3 ms·
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 f
by BiteCode_dev 3y ago
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.
- ploum 3y agoI’ve learned quite quickly that you never do any performance job without profiling. Never! Even if the optimisation looks straightforward.