On Wed, Dec 28, 2011 at 12:43 PM, John-David Dalton <
john.david.dal...@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
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to