-
oliver@apple.com authored
Reviewed by Cameron Zwarich Add the concept of a CachedCall to native code for use in Array prototype and similar functions where a single callback function is called repeatedly with the same number of arguments. Used Array.prototype.filter as the test function and got a 50% win over a naive non-caching specialised version. This makes the native implementation of Array.prototype.filter faster than the JS one once more. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9a4dea55