Last question of the day (This one's easy!)

Emile van Sebille emile at fenx.com
Thu Sep 30 21:26:08 EDT 1999


Nolan,

I didn't run your code exactly, but ran this on a Win 95 Pentium233
w/64M and lots of other stuff running on the system (as opposed to
crashing the system ;-)

>>> def foo():
 return ""

>>> def test(n):
 st=time.time()
 for i in xrange(n):
  foo()
 print time.time()-st

>>> test(1000000)
5.11000001431
>>> test(10000000)
53.5499999523


--

Emile van Sebille
emile at fenx.com
-------------------







More information about the Python-list mailing list