Closed LarryBattle closed 9 years ago
Added more test cases and switched to using a regular expression instead of a for loop.
This is really good. I'm curious what the performance implications are of using regexp instead of a simple loop.
Probably abysmal. I'll put together a jsperf test
So yeah, abysmal. Closing.
http://jsperf.com/fuzzysearch-regex
Haha holy cow!
Added more test cases and switched to using a regular expression instead of a for loop.