On Tue, 18 Nov 2008 16:01:35 +0100, Owolabi Abdulkareem wrote: > I just thought may be this is worth considering for future enhancement > with python's range > > I've you considered trying out something of these nature with range: > > />>> 9000000 in range(20**30)/ > > you'll have to wait for sometime to get a response
See http://bugs.python.org/issue1766304 for additional discussion on this topic. Optimizations for this would have to be implemented on the C level. > I don't know if something could be done about this now ( or if it is > really a good idea) especially when python 3000 is in its rc2 but I > thought I should say something on this. I think optimizations can always be applied (though the core developers might be busy with caring for release blockers rather than optimizations right now). -- Robert "Stargaming" Lehmann _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com