Am 19.05.2010 22:58, schrieb superpollo:
> 
> In [277]: prttn(25, 10000)
> Out[277]: 348
> 
> In [278]: prttn2(25, 10000)
> Out[278]: 348
> 
> In [279]: prttn3(25, 10000)
> Out[279]: 348
> 
> ok, bye!

Just because I was curios:

nec...@zakarumiy ~ % python -m timeit "import test; test.prttn(25,10000)"
10 loops, best of 3: 108 msec per loop

nec...@zakarumiy ~ % python -m timeit "import test; test.prttn2(25,10000)"
10 loops, best of 3: 157 msec per loop

nec...@zakarumiy ~ % python -m timeit "import test; test.prttn3(25,10000)"
10 loops, best of 3: 137 msec per loop

Note: This is probably not representative ... just a quick check to get
a raw feeling.

- René

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to