'int' is enough for 'length' to migrate code from x86 to x64
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Thu Nov 27 00:31:23 PST 2014
On Tuesday, 25 November 2014 at 22:56:50 UTC, Ola Fosheim Grøstad
wrote:
> I personally would take the monotonic optimizations and rather
> have a separate bit-fidling type that provides a clean builtin
> swiss-army-knife toolset that gives close to direct access to
> the whole arsenal that the CPU instruction set provides (carry,
> ROL/ROR, bitcounts etc).
I don't think there's such clear separation that can be expressed
in a type, it's more in used coding practices rather than type.
You can't change coding practice by introducing a new type.
More information about the Digitalmars-d
mailing list