Re: first shared cache checkin

From: Andriy Shapochka (ashapochk..otmail.com)
Date: Mon Oct 20 2003 - 05:35:42 EDT

  • Next message: Holger Hoffstätte: "Re: Cayenne Committer Proposal: Eric Schneider"

    ----- Original Message -----
    From: "Andrus Adamchik" <andru..bjectstyle.org>
    To: <cayenne-deve..bjectstyle.org>
    Sent: Monday, October 20, 2003 9:28 AM
    Subject: Re: first shared cache checkin

    >
    > Question: Since after DataRow is initially created it is used as an
    > immutable fixed size map that should be optimized for read, is there a
    > better optimized superclass than HashMap? Recommendations?
    >

    They say GNU Trove hash maps are several times faster, especially primitive
    types (int->Object, for example). See the links. They are compatible with
    the standard Collections too.
    http://www.onjava.com/pub/a/onjava/2002/06/12/trove.html
    http://trove4j.sourceforge.net/

    Andriy.



    This archive was generated by hypermail 2.0.0 : Mon Oct 20 2003 - 05:29:20 EDT