On Sep 18, 2011, at 5:07 AM, Andrea Giammarchi wrote: > On Sun, Sep 18, 2011 at 7:17 AM, Brendan Eich <bren...@mozilla.com> wrote: > > The point is that you don't *have* to pass a fresh object literal to each > constructor call. > > /be > > > I know Brendan, my point is that I can predict devs will do every time .... > we'll see
Then they'll optimize. Developers know how to make code fast, just by A-B testing and folklore, if not by profiling. The problem for JS is when performance is unpredictable, i.e., when optimization faults happen. This isn't analogous. /be
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss