Nick Coghlan <[EMAIL PROTECTED]> writes:
[...]
> (xrange can't handle Python longs, unfortunately, so we *are*
> constrained by sys.maxint. However, since my machine only has half a
> gig of RAM, the above is still a damn sight quicker than the
> equivalent list comprehension would be!)
[...]

Other way 'round: if you had even more RAM, the listcomp would be even
slower for this job!


John
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to