Challenge: write a really really small front() for UTF8
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Mon Mar 24 09:35:39 PDT 2014
On 3/24/14, 3:30 AM, dnspies wrote:
> On Sunday, 23 March 2014 at 21:23:18 UTC, Andrei Alexandrescu wrote:
>> Here's a baseline: http://goo.gl/91vIGc. Destroy!
>>
>> Andrei
>
> Ok, I managed to make it smaller. I think this is the smallest so far
> with only 23 instructions (no loop unrolling in this one):
>
> http://goo.gl/RKF5Vm
This is nice because even the checks are relatively cheap. It's quite
difficult to understand tho :o). -- Andrei
More information about the Digitalmars-d
mailing list