Author Ma Lin
Recipients Greg Price, Ma Lin, aeros, mark.dickinson, rhettinger, sir-sigurd
Date 2019-08-12.00:13:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
How about using a hybrid implementation for `int`.

For example, on 64-bit platform, if (a integer >=-9223372036854775808 and <=9223372036854775807), use a native `signed long` to represent it.

People mostly use +-* operations, maybe using native int is faster, even including the cost of overflow checking.

If operation will overflow or other operation like **, we can transform native int to current form and run in current code path.
Date User Action Args
2019-08-12 00:13:09Ma Linsetrecipients: + Ma Lin, rhettinger, mark.dickinson, Greg Price, sir-sigurd, aeros
2019-08-12 00:13:09Ma Linsetmessageid: <>
2019-08-12 00:13:09Ma Linlinkissue37812 messages
2019-08-12 00:13:09Ma Lincreate