[issue6931] dreadful performance in difflib: ndiff and HtmlDiff

2014-07-08 Thread Christopher Cabanne

Christopher Cabanne added the comment:

I ran into the slowness of difflib.HtmlDiff.make_table yesterday, and see this 
issue is three years stale now; is there any update or chance that the fix will 
be applied?

--
nosy: +Christopher.Cabanne

___
Python tracker 
<http://bugs.python.org/issue6931>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6931] dreadful performance in difflib: ndiff and HtmlDiff

2014-07-08 Thread Christopher Cabanne

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 
<http://bugs.python.org/issue6931>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6931] dreadful performance in difflib: ndiff and HtmlDiff

2014-07-08 Thread Christopher Cabanne

Christopher Cabanne added the comment:

Sorry about the typo; here is the corrected timeit command: 

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

--

___
Python tracker 
<http://bugs.python.org/issue6931>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com