[Python-Dev] Python-Dev Digest, Vol 108, Issue 14

R. David Murray rdmurray at bitdance.com
Thu Jul 12 15:46:27 CEST 2012


On Thu, 12 Jul 2012 03:34:20 -0700, Ryan Paullin <ryanpaullin at gmail.com> wrote:
> $ python -m timeit -s 'import test' 'list(test.grouper(2,"abcdef"))'
> 100000 loops, best of 3: 5.34 usec per loop
> $ python -m timeit -s 'import test' 'test.grouper(2,"abcdef")'
> 100000 loops, best of 3: 2.19 usec per loop
> $ python -m timeit -s 'import test' 'list(test.chunks(2,"abcdef"))'
> 100000 loops, best of 3: 2.85 usec per loop
> $ python -m timeit -s 'import test' 'test.chunks(2,"abcdef")'
> 1000000 loops, best of 3: 0.685 usec per loop
> 
> some woman wrote this

I don't have any idea what any of your recent posts mean, but this
one appears to be offensive.  I would appreciate it if you would stop
posting until you have something substantive to say, and can do so in
a civil fashion.

--David


More information about the Python-Dev mailing list