Performance of jQuery.grep vs. Array.filter

As found on this blog post (which also does the same kind of tests):

If you read the documentation for filter, you will see why it’s so much slower.

  1. It ignores deleted values and gaps in the array
  2. It optionally sets the execution context of the predicate function
  3. It prevents the predicate function from mutating the data

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)