Antoine Pitrou <pit...@free.fr> added the comment:

Here is a benchmark ripped from the Computer Language Shootout
(http://shootout.alioth.debian.org).
Running "binary_trees.py 18" takes the following time:
-> without patch:     330s.
-> with patch:        201s. (40% speedup)
-> with GC disabled : 165s.

Running pybench --with-gc doesn't show any performance variation, which
seems to imply the overhead of the heuristic is negligible.

----------
Added file: http://bugs.python.org/file13332/binary-trees.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4688>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to