Annoyance with new integer promotion deprecations

Walter Bright newshound2 at digitalmars.com
Tue Feb 6 07:18:59 UTC 2018


On 2/5/2018 4:08 PM, Steven Schveighoffer wrote:
> I think the CPU has to do extra work to throw away that high bit, no?

So much of software relies on C integer semantics that CPU vendors have 
optimized their performance for them, so no.

Except for 16 bit shorts. Shorts will exact a penalty :-) and so shorts should 
only be used for data packing purposes.


More information about the Digitalmars-d mailing list