cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tatu Saloranta <tsalora...@gmail.com>
Subject Re: Trove maps
Date Sat, 24 Apr 2010 04:58:34 GMT
On Fri, Apr 23, 2010 at 1:22 PM, Carlos Sanchez
<carlos.sanchez@riskmetrics.com> wrote:
> I will try to modify the code... what I like about Trove is that even for regular maps
(non primitive) there are no Entry objects created so there are much less references to be
gced

This could help, but how is iteration then handled? Are Map.Entry
instances created (and discarded) during iteration? (which could be a
net loss in some cases -- or maybe not, it's short-lived garbage vs
long-lived one if as part of long-living Map).
Just curious,

-+ Tatu +-

Mime
View raw message