64 KiB should be enough for everyone

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 22 17:12:21 PST 2014


On 11/22/2014 1:07 PM, Marco Leise wrote:
> Am Fri, 21 Nov 2014 18:07:15 -0800
>> You're better off with core.checkedint here, as not only is it correct, but
>> (eventually) it will enable the compiler to optimize it to simply checking the
>> carry flag.
>
> Ah right, I keep forgetting that module.

It is brand new (!) so you're forgiven.

> By the way, are calls
> to core.checkedint inlined? Since they are in another module
> and not templated I'd think not.

Yes, since the import leaves the source for it in there.



More information about the Digitalmars-d mailing list