2 ms·
Rust having strings that are utf-8 is a guarantee and as such allows uou to do very efficient operations on them. Puthon gives you a vagie guarantee that it giv
by the_mitsuhiko 10y ago
Rust having strings that are utf-8 is a guarantee and as such allows uou to do very efficient operations on them. Puthon gives you a vagie guarantee that it gives you O(1) access to something like a glyph.
These are very different and incompatible text models.
At no point is Python's text model fast or overly useful.