Closed fjsj closed 5 years ago
Nevermind. I was misled by jellyfish source code. It does have a C-version. The correct execution is:
import timeit
timeit.Timer('jellyfish.jaro_winkler(\'DIXON\', \'DICKSONX\')', setup='from jellyfish import _jellyfish as jellyfish').timeit(number=10000)
Which gives similar results to py_stringmatching.
Hi. Thank you very much for using our code, and I'm glad that this issue has been resolved (and sorry for the late reply. We have been on winter break :). The Magellan team.
Hi, I suppose there's something wrong with cython_jaro_winkler. Looks like it's much slower than a pure-Python implementation, like the one in jellyfish project.
On my machine, macOS Mojave 10.14.2 (18C54):
Also tested on a Ubuntu 16.04.4 server. Similar results.
Versions: Python 3.6.7 jellyfish==0.6.1 py-stringmatching==0.4.0