memory problem with list creation
steven at REMOVE.THIS.cybersource.com.au
Thu Jan 14 03:07:07 CET 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.
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!
More information about the Python-list