On Jan 15, 8:34 pm, Rob Beezer <[email protected]> wrote: > On Jan 15, 9:23 am, Jeroen Demeyer <[email protected]> wrote: > > > Whether every range() should be changed to xrange(): I can't comment on > > that. > > In Python 3, range() will return an iterator, which is the current > behavior of xrange(). I'm not sure about the fate of xrange() in > Python 3. See for example: > > http://stackoverflow.com/questions/135041/should-you-always-favor-xra... >
Ok, since it will be changed in python 3 anyway, and I asume that sometime in the (maybe distand) future we will switch to python 3 and the speedup is not that big. I think the patch is not worth the effort. To bad nobody still noticed suggestion number 2 -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
