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

safety0ff safety0ff.dev at gmail.com
Sun Mar 23 23:08:30 PDT 2014


On Monday, 24 March 2014 at 05:27:43 UTC, Michel Fortin wrote:
> Here's the corrected (again) version of front1:
> [Snip]
>
> And I'm going to suggest a variant of the above with one less 
> branch (but three more instructions):
> [Snip]

Everything seems to work in your corrected versions:
http://dpaste.dzfl.pl/3b32535559ba

Andrei's version doesn't compile on recent compiler versions due 
to goto skipping initialization.


More information about the Digitalmars-d mailing list