Performance of int/long in Python 3

Chris Angelico rosuav at gmail.com
Tue Mar 26 15:03:01 EDT 2013


On Wed, Mar 27, 2013 at 5:50 AM, jmfauth <wxjmfauth at gmail.com> wrote:
> On 25 mar, 22:51, Chris Angelico <ros... at gmail.com> wrote:
>> The Python 3 merge of int and long has effectively penalized
>> small-number arithmetic by removing an optimization. As we've seen
>> from PEP 393 strings (jmf aside), there can be huge benefits from
>> having a single type with multiple representations internally ...
>
> ------
>
> A character is not an integer (short form).

So?

ChrisA



More information about the Python-list mailing list