Performance of int/long in Python 3
rosuav at gmail.com
Tue Mar 26 01:28:25 CET 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.
More information about the Python-list