jamesturk / jellyfish

🪼 a python library for doing approximate and phonetic matching of strings.
https://jamesturk.github.io/jellyfish/
MIT License
2.07k stars 160 forks source link

repeatable crash in new damerau implementation #34

Closed jamesturk closed 9 years ago

jamesturk commented 9 years ago

pip install -e .; python -c "import jellyfish; print jellyfish.damerau_levenshtein_distance(u'test', u'test')"

crashes w/ a MemoryError

initial debugging points to the malloc((len1+2)) * cols * sizeof(size_t)) call

jamesturk commented 9 years ago

notably doesn't crash locally w/ tox, but does crash on travis... memory errors :-1: