commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <scolebou...@btopenworld.com>
Subject Re: [primitives] objects indexed by int's and long's
Date Sat, 18 Feb 2006 21:37:58 GMT
I believe that an IntMap and similar classes uis a valuable addition to 
[primitives]. However there is a case for releasing the current SVN code 
  as v1.1 before adding any new code.

Stephen


robert burrell donkin wrote:
> i've been thinking about performance for a client side application over
> the last week (or so). it seems to do a lot of operations whereby an
> object (of a list of objects) is looked up by a primary key. this is an
> int or a long but using a Map requires an indexing object (Int or Long).
> this is okay for Map's with small numbers of entries but creating all
> those indexing objects and calling all those hashCode's and equal's adds
> up to quite a big total problem. 
> 
> i wondered whether a primitive version of Map taking int/long as it's
> keys might be generally useful addition to primitives and also wondering
> about it's semantics.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message