Challenge: write a really really small front() for UTF8

Mike none at none.com
Sun Mar 23 17:32:49 PDT 2014


On Sunday, 23 March 2014 at 21:23:18 UTC, Andrei Alexandrescu 
wrote:
> Here's a baseline: http://goo.gl/91vIGc. Destroy!
>
> Andrei

This example only considers encodings of up to 4 bytes, but UTF-8 
can encode code points in as many as 6 bytes.  Is that not a 
concern?

Mike


More information about the Digitalmars-d mailing list