Reducing the cost of autodecoding

safety0ff via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 25 15:02:27 PDT 2016


On Tuesday, 25 October 2016 at 21:46:30 UTC, safety0ff wrote:
>
> P.S. I am aware that this pessimises popFront for code which 
> only counts codepoints without inspecting them.

Unfortunately it also changes the API of popFront to throw on 
invalid characters.

So the example would need to be reworked.


More information about the Digitalmars-d mailing list