A little story
Dmitry Olshansky
dmitry.olsh at gmail.com
Mon Jun 25 03:07:58 PDT 2012
On 25-Jun-12 14:01, bearophile wrote:
> Tobias Pankrath:
>
>> Maybe you should post this to the main newsgroup.
>
> I don't know if the main newsgroup is the right place.
>
>
>> I would prefer a switch that does this per scope, i.e:
>
> I think both a compiler switch for the compilation unit, and a scope
> pragma to enable/disable locally, are useful.
While I think that if you seek anything other then plain fixnum you'd
better make wrapper type adding nessary overflow checks. It should be
almost as fast as plain fixnum if it's not then it's a bug/feature
request for optimizer/inliner.
--
Dmitry Olshansky
More information about the Digitalmars-d-learn
mailing list