Reducing the cost of autodecoding

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 25 12:43:17 PDT 2016


On 10/25/16 3:32 PM, Stefam Koch wrote:
> On Tuesday, 25 October 2016 at 19:16:07 UTC, Steven Schveighoffer wrote:

>> Should behave better on 32-bit system.
>>
>> You could also store 3-bits to avoid extra addition.
> The whole point of a LUT to begin with is to reduce instructions.
>

Yes, I know. But as I understand it, using 64-bit math on 32-bit systems 
is expensive also. Maybe not in this case...

-Steve


More information about the Digitalmars-d mailing list