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