More fun with autodecoding

Walter Bright newshound2 at digitalmars.com
Wed Aug 8 20:13:19 UTC 2018


On 8/6/2018 6:57 AM, Steven Schveighoffer wrote:
> But I'm not sure if the performance is going to be the 
> same, since now it will likely FORCE autodecoding on the algorithms that have 
> specialized versions to AVOID autodecoding (I think).

Autodecoding is expensive which is why the algorithms defeat it. Nearly none 
actually need it.

You can get decoding if needed by using .byDchar or .by!dchar (forgot which it was).


More information about the Digitalmars-d mailing list