October 25, 2016 Re: Reducing the cost of autodecoding | ||||
---|---|---|---|---|
| ||||
Posted in reply to safety0ff | 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.
|
Copyright © 1999-2021 by the D Language Foundation