[Tutor] Why does counting to 20 million stress my computer?

Alan Gauld alan.gauld at blueyonder.co.uk
Wed Jul 21 23:37:22 CEST 2004


> Not sure if 1,000,000 and 10,000,000 are small values, 

I was thinking more in terms of less than 1000... :-)

I might get round to trying it sometime...
The problem with such small numbers is finding a test thats 
measurable and isn't slewed by the processing inside the loop.
I suspect the Python profiler might be needed to do it properly...

Alan G.




More information about the Tutor mailing list