codemix/fast.js — pull request #31 by phpnode (2014-06-28 00:09:55+00:00)
Title: fix performance regression in reduce()

The change to `.reduce()` in #29 to bring it more inline with the native implementation caused a nasty performance regression, as much as 60% in some cases. By avoiding looking at `arguments` at all we can bring it back up to speed, a simple `undefined` check is much faster.