Closed inspector-ambitious closed 9 years ago
function fuzzysearch(query, data) { return (new RegExp(query.split('').join('.*'))).test(data); }
Performs at ~10% of the current implementation. See https://github.com/bevacqua/fuzzysearch/pull/6#issuecomment-77272555