On Thu, Jun 4, 2009 at 4:28 PM, Daniel Rice (דניאל רייס) <[email protected]>wrote:

> The difference is more pronounced when iterating over small
> collections many times, since a new Iterator object must be
> instantiated for each iteration.  The compiler seems to handle a lot
> of smallish collections.
>

In fact many of them are empty, and a good chunk of them have 1-2 elements
(which is why Scott rewrote them to lazily allocate containers).

-- 
John A. Tamplin
Software Engineer (GWT), Google

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to