|start | find | index | login or register | edit|
by earl, 4192 days agoKragen Sitaker and Aristotle Pagaltzis on
I think the conclusion that "indexing into" an UTF-8 string is also carrying only a small penalty is the result an editorial mistake in Kragen's write-up; considering that in the introduction he quotes Aristotle with "All you lose with a variable-width encoding is direct random access to arbitrary indices in the string."
Otherwise, a very fine write-up. I just love this style of exposition, with a clearly-defined hypothesis, working code and proper performance measurements. Just like early CACM, and I think that's the way a lot of computer science (still) should be presented.
10 active users
|earl.strain.at • esa3 • online for 6829 days • c'est un vanilla site|