HPPC release 0.5.0

25 views
Skip to first unread message

Dawid Weiss

unread,
May 6, 2013, 1:38:52 PM5/6/13
to java-high-performance-primitive-collections
Dear all,

HPPC release 0.5.0 has just been pushed to Sonatype/ maven
repositories. This release is pretty cosmetic and includes all bug
fixes and enhancements rolled to the bugfixing branch 0.4.x, along
with a few minor API changes.

All issues for version 0.5.0 are at:
http://issues.carrot2.org/secure/ReleaseNote.jspa?projectId=10070&version=10321

** API-breaking changes:

HPPC-66: allow retrieving key instances by key-equality from
Object*Map versions of
hash maps. Renamed lget in KTypeOpenHashSet to lkey for consistency.
So, the methods accessing last found key in sets and maps are:
lget (maps, accesses last value), lset (maps, accesses last value),
lkey (maps, sets, accesses last key), lslot (both, slot index).

HPPC-68: Lifted final markers on public methods

** New features

HPPC-63: a jdk15-compatible artifact is being published to Maven Central now.

HPPC-66: allow retrieving key instances by key-equality from
Object*Map versions of
hash maps and hash sets.

HPPC-69: added toString to cursors.

HPPC-77: BitSet should use hotspot intrinsics (popcnt mostly)

** Bug fixes

HPPC-65: putOrAdd uses == for comparing object keys instead of equality

HPPC-72: XorShiftRandom always returns a zero. [Sergey Peretyatko]
This class was used only in benchmarks and tests so unless
you're using it directly you're not affected.

HPPC-73: get, contains and any other method may block indefinitely with
high load factors and full storage array capacity

HPPC-74: Load factor is not used in KTypeOpenHashSet

HPPC-75: put or add may leave the internal state of the hash containers
inconsistent on OOM conditions

** Other

Added newInstance() to BitSet and IntDoubleLinkedSet for consistency.

Dawid
Reply all
Reply to author
Forward
0 new messages