brianreavis / sifter.js

A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.
1.09k stars 125 forks source link

Update sifter.js - added missing Slovak letter and speed-up algo #30

Closed PeterWurmi closed 8 years ago

PeterWurmi commented 9 years ago

added missing Slovak letter ľ to DIACRITICS and speed-up asciifold slow algorithm by 50% - firstly apply toLowerCase and then replace only lower diacritics chars.

in selectize.js on large selects this can be very helpfull improvement

PeterWurmi commented 8 years ago

Pls. added missing Slovak letter ľ to DIACRITICS and speed-up asciifold slow algorithm by 50% - firstly apply toLowerCase and then replace only lower diacritics chars.