Maybe it is GC driven, if you have N threads each with a copy of all
of the Strings in the program, collections take longer?

-Ray

On Tue, Oct 25, 2011 at 8:11 PM, Toby Reyelts <to...@google.com> wrote:
> This is a little too surprising. ThreadLocal accesses are very fast (think <
> 1us).
>
> On Tue, Oct 25, 2011 at 9:25 PM, <skybr...@google.com> wrote:
>>
>> Surprisingly, using a ThreadLocal is the slowest so far. Going back to
>> using shards.
>>
>>
>> http://gwt-code-reviews.appspot.com/1578804/
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors

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

Reply via email to