Performance of int/long in Python 3

jmfauth wxjmfauth at gmail.com
Tue Mar 26 21:44:01 CET 2013


On 26 mar, 20:03, Chris Angelico <ros... at gmail.com> wrote:
> On Wed, Mar 27, 2013 at 5:50 AM, jmfauth <wxjmfa... 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

A character is not an integer.

jmf



More information about the Python-list mailing list