On Tue, Oct 7, 2014 at 6:17 AM, C. Scott Ananian <ecmascr...@cscott.net>
wrote:

> On Tue, Oct 7, 2014 at 1:48 AM, Dmitry Soshnikov
> <dmitry.soshni...@gmail.com> wrote:
> > On Mon, Oct 6, 2014 at 8:19 PM, Rick Waldron <waldron.r...@gmail.com>
> wrote:
> >> On Mon, Oct 6, 2014 at 10:59 PM, Dmitry Soshnikov
> >> <dmitry.soshni...@gmail.com> wrote:
> >>> We're currently polyfilling `Array.from` in our codebase following the
> >>> latest draft [1]. And I was actually surprised by the `mapfn` being
> involved
> >>> into the algorithm.
> >> Have you tried es6-shim?
> > Yeah, I'm aware of it, though, we have own versions for better
> performance,
> > since may skip some internal checks, etc.
>
> (Speaking as an es6-shim maintainer) I'm always interested in
> benchmark results and performance patches.  Are the ES6-required
> checks really slowing you down?  I would think that most JITs and CPUs
> handle infrequently-taken branches pretty well these days.
>


The `es6-shim` is written well, though the performance is not the only
reason. We have own modules and polyfilling system, and don't polyfill
every single thing (just needed), so it's easier to write own.

Dmitry
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to