5 ms·
I like underscore.js although I'm not sure if _.each will be faster than jquery or not. http://documentcloud.github.com/underscore/#each http://documentcloud.gi
by smj2118 15y ago
I like underscore.js although I'm not sure if _.each will be faster than jquery or not. http://documentcloud.github.com/underscore/#each http://documentcloud.github.com/underscore/#each
I've also heard that the coffeescript implementation of forEach is pretty fast since it uses the old c-style for-loop under the hood.
- lowglow 15y agoAwesome! Thanks. I'll check these out tonight. It might be quicker to have mysql just return matching search results, but I wouldn't want to use LIKE on 1.6M text phrases, so I was hoping to just parse them in the browser, but anything over ~2k entries for regex seems to choke chrome and safari.