memory problem with list creation

Steven D'Aprano steven at REMOVE.THIS.cybersource.com.au
Wed Jan 13 21:07:07 EST 2010


On Thu, 14 Jan 2010 02:03:52 +0000, Steven D'Aprano wrote:

> Again, the technique you are using does a pointless amount of extra
> work. The values in the xrange object are already floats, calling float
> on them just wastes time. 

Er what?

Sorry, please ignore that. This is completely untrue -- xrange produces 
ints, not floats.

Sorry for the noise, I don't know what I was thinking!




-- 
Steven



More information about the Python-list mailing list