Performance of int/long in Python 3

Roy Smith roy at panix.com
Mon Mar 25 20:55:03 EDT 2013


In article <5150e900$0$29998$c3e8da3$5496439d at news.astraweb.com>,
 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 incredibly useful when solving Project Euler problems :-)

[I remember when strings didn't have methods]



More information about the Python-list mailing list