[issue6931] dreadful performance in difflib: ndiff and HtmlDiff

Christopher Cabanne report at bugs.python.org
Wed Jul 9 01:28:01 CEST 2014


Christopher Cabanne added the comment:

Here is a timeit command to test with the attached test files: 

python -m timeit -n 10 "import difflib; difflib.HtmlDiff().make_table(open('left500.txt').readlines(), open('righ500.txt').readlines())"

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6931>
_______________________________________


More information about the Python-bugs-list mailing list