Why we need to clean up __proto__

John Tamplin jat at google.com
Wed Dec 28 10:00:05 PST 2011


On Wed, Dec 28, 2011 at 12:43 PM, John-David Dalton <
john.david.dalton at gmail.com> wrote:

> > At the expense of creating lots of garbage and slowing things down.
>
> A prefix is hardly `lots of garbage` and the perf hit is not a real
> concern (millions of ops/sec vs higher millions of ops/sec).
>

In GWT, we did exactly this prefix operation, and we found GC became a
problem on IE because of it, as each lookup or store in the map creates a
new garbage string.

-- 
John A. Tamplin
Software Engineer (GWT), Google
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20111228/00529160/attachment.html>


More information about the es-discuss mailing list