janewqiu / google-diff-match-patch

Automatically exported from code.google.com/p/google-diff-match-patch
Apache License 2.0
0 stars 0 forks source link

Consider providing a Cython implementation #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
By just copying and pasting the pure Python version of diff-match-patch to a 
pyx file and compiling it with Cython, the time it takes to compare the 
speedtest text files with the provided unit test, was cut in half.

Original issue reported on code.google.com by izzaddin.ruhulessin@gmail.com on 19 Jan 2011 at 10:40

GoogleCodeExporter commented 9 years ago
Or a C version, since then cffi could be used to bind it to both CPython and 
Pypy.

Original comment by Clay.Swe...@gmail.com on 19 Sep 2013 at 7:02