Performance of int/long in Python 3

Chris Angelico rosuav at gmail.com
Mon Mar 25 20:28:25 EDT 2013


On Tue, Mar 26, 2013 at 11:17 AM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> Also, speaking as somebody who remembers a time when ints where not
> automatically promoted to longs (introduced in, Python 2.2, I think?) let
> me say that having a single unified int type is *fantastic*, and managing
> ints/longs by hand is a right royal PITA.

Oh, I absolutely agree! I'm just looking at performance here, but
definitely the int/long unification is a Good Thing.

ChrisA



More information about the Python-list mailing list