Tracking bug
Created attachment 29440 [details] implement reduce
Comment on attachment 29440 [details] implement reduce perf is abysmal
Created attachment 29519 [details] Performant implementation
Created attachment 29521 [details] Reduce redux
Comment on attachment 29521 [details] Reduce redux cachedCall.setArgument(1, array->getIndex(i)); I think this should probably now be: cachedCall.setArgument(1, v);
Committing to http://svn.webkit.org/repository/webkit/trunk ... M JavaScriptCore/ChangeLog M JavaScriptCore/runtime/ArrayPrototype.cpp M LayoutTests/ChangeLog A LayoutTests/fast/js/array-reduce-expected.txt A LayoutTests/fast/js/array-reduce.html A LayoutTests/fast/js/resources/array-reduce.js Committed r42563