avian2 / unidecode

ASCII transliterations of Unicode text - GitHub mirror
https://pypi.python.org/pypi/Unidecode
GNU General Public License v2.0
517 stars 62 forks source link

Performance improvement for frequent ASCII transliterations #2

Closed dukebody closed 8 years ago

dukebody commented 8 years ago

I have a case where most transliterations only have to deal with ASCII chars, with only a few taking non-ASCII ones (Spanish).

See https://github.com/iki/unidecode/pull/11#issuecomment-148920908

PR will follow.

avian2 commented 8 years ago

Fixed in https://github.com/avian2/unidecode/commit/0c47a034eb9f88b7747c79a82b0d03809bb5e1f6