STINNER Victor <victor.stin...@gmail.com> added the comment: Results on Windows Seven 64 bits, on Intel i7 2600 @ 3.4 GHz (8 cores), Windows running in a virtual machine (kvm) with hardware virtualization.
Python 3.2.2: 10000000 loops, best of 3: 0.12 usec per loop 100000 loops, best of 3: 5.12 usec per loop 1000000 loops, best of 3: 0.581 usec per loop 1000000 loops, best of 3: 0.397 usec per loop Python 3.3 @ 1439e2d1f490: 1000000 loops, best of 3: 0.265 usec per loop 100000 loops, best of 3: 11 usec per loop 1000000 loops, best of 3: 0.961 usec per loop 1000000 loops, best of 3: 0.924 usec per loop Python 3.3 @ cdc4e0f8135d: 10000000 loops, best of 3: 0.154 usec per loop 100000 loops, best of 3: 7.85 usec per loop 1000000 loops, best of 3: 0.583 usec per loop 1000000 loops, best of 3: 0.535 usec per loop To be honest, I'm surprised that my work speeds up Python 3.3 on Windows, because I read that realloc() on Windows is not efficient. It is maybe no more true with Windows Seven? It would be interesting if someone could run the benchmark on Windows XP or 2000. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14687> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com