bigsearch
Fast search for big arrays.
Current functionality: binary search.
To do: Levenshtein.
Usage
var bigsearch = ;var indexFound = bigsearch;var indexFound = bigsearch;
The comparators are fully compatible with the Array#sort function. Defining custom comparators:
var indexFound = bigsearch;
Even though the results are similar to Array#indexOf, this package runs thousands of times (literally) faster, especially when dealing with super large arrays.