Hallo, Mathieu Bouchard hat gesagt: // Mathieu Bouchard wrote:
[list length] already isn't "needed", it's just that to find the length of a list of length 1000 it takes 499500 steps, and doubling the list length makes it take four times more steps. You just have to upgrade your CPU ;-)
Hey, I cannot even compute that number with my builtin CPU and have to use a synthetic calculator for this:
(fbar)-> $ python Python 2.2.2 (#1, Mar 17 2003, 15:17:58) [GCC 3.3 20030226 (prerelease) (SuSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
499500 * 4
1998000
Oops, that's almost two million steps...
Frank Barknecht _ ______footils.org_ __goto10.org__