High Performance Primitive Collections for Java
This release brings a few nice improvements from Bruno: SortedIterationKTypeVTypeHashMap view that allows you to traverse maps in sorted key order, an efficient QuickSort implementation for faster sorting and a few minor additions to the API.
Resolved issues: https://github.com/carrotsearch/hppc/milestone/3?closed=1
JavaDoc: http://carrotsearch.github.io/hppc/releases/0.9.1/api/
GH-31: Added QuickSort and used it in SortedIterationKTypeVTypeHashMap. (Bruno Roustant) QuickSort can be used with custom element comparator and swapper.
GH-28: Added SortedIterationKTypeVTypeHashMap: a sorted-iteration order view over another key-value map. (Bruno Roustant)
GH-26: Moved putIfAbsent to interface KTypeVTypeMap. (Dawid Weiss)
GH-25: Added addAll(KTypeContainer) on KTypeSet. (Erich Schubert, Dawid Weiss).
GH-27: Added identity short circuit to existing equals methods. (Callum Galbreath).
This is the API-breaking release of HPPC in a longer while. A new interesting associative container has been added (see worm hashing issue below) and some changes have been made to get rid of the Scatter*-type containers. You can now safely use either worm or regular version of hash maps and sets.
Resolved issues: https://github.com/carrotsearch/hppc/milestone/1?closed=1
JavaDoc: http://carrotsearch.github.io/hppc/releases/0.9.0/api/
Java 11 is now required to compile HPPC. The resulting binary JAR is Java 1.8 compatible (Dawid Weiss).
GH-24: Support indexRemove in KTypeVTypeHashMap,KTypeHashSet,KTypeWormSet (Bruno Roustant).
GH-20: KeysContainer of WormMap is not public (Haoyu Zhai, Bruno Roustant).
GH-13: Add automatic module name to the generated JAR's manifest ("com.carrotsearch.hppc").
HPPC-179: Update java template parser to support Java 8.
HPPC-186: A different strategy has been implemented for collision avalanche avoidance. This results in removal of Scatter* maps and sets and their unification with their Hash* counterparts. This change should not affect any existing code unless it relied on static, specific ordering of keys. A side effect of this change is that key/value enumerators will return a different ordering of their container's values on each invocation. If your code relies on the order of values in associative arrays, it must order them after they are retrieved. (Bruno Roustant).
HPPC-176: A new set of associative containers implementing Worm Hashing has been added. This strategy is appropriate for a medium sized maps and sets (less than 2M entries). It takes more time to put entries in the map because it maintains chains of entries having the same hash. Then the lookup speed is fast even if the map is heavy loaded or hashes are clustered. On average it takes slightly less memory than KTypeVTypeHashMap: even though it allocates more data structures, the reasonable load factor is higher (it varies around 80%) so containers enlarge later. (Bruno Roustant, Aleksandr Danilin).
HPPC-191: Improve Accountable implementation (Haoyu Zhai)
HPPC-183: Simplify IndirectSort comparator to use IntBinaryOperator.
HPPC-177: Modernize the build system to gradle and make it work with IntelliJ.
HPPC-184: Use closures where possible to make the resulting JAR smaller.
Release candidate preview for 0.9.0.
Resolved issues: https://github.com/carrotsearch/hppc/milestone/2?closed=1
JavaDoc: http://carrotsearch.github.io/hppc/releases/0.9.0.RC2/api/
New features and API changes
Improvements
Release candidate preview for 0.9.0.
Resolved issues: https://issues.carrot2.org/secure/ReleaseNote.jspa?projectId=10070&version=15325 https://github.com/carrotsearch/hppc/milestone/1?closed=1
JavaDoc: http://carrotsearch.github.io/hppc/releases/0.9.0.RC1/api/
New features and API changes
HPPC-179: Update java template parser to support Java 8.
HPPC-186: A different strategy has been implemented for collision avalanche avoidance. This results in removal of Scatter* maps and sets and their unification with their Hash* counterparts. This change should not affect any existing code unless it relied on static, specific ordering of keys. A side effect of this change is that key/value enumerators will return a different ordering of their container's values on each invocation. If your code relies on the order of values in associative arrays, it must order them after they are retrieved. (Bruno Roustant).
HPPC-176: A new set of associative containers implementing Worm Hashing has been added. This strategy is appropriate for a medium sized maps and sets (less than 2M entries). It takes more time to put entries in the map because it maintains chains of entries having the same hash. Then the lookup speed is fast even if the map is heavy loaded or hashes are clustered. On average it takes slightly less memory than KTypeVTypeHashMap: even though it allocates more data structures, the reasonable load factor is higher (it varies around 80%) so containers enlarge later. (Bruno Roustant, Aleksandr Danilin).
Improvements
HPPC-183: Simplify IndirectSort comparator to use IntBinaryOperator.
HPPC-177: Modernize the build system to gradle and make it work with IntelliJ.
HPPC-184: Use closures where possible to make the resulting JAR smaller.
Bugs
This release adds utility methods for estimating allocated and used memory.
Resolved issues: https://issues.carrot2.org/projects/HPPC/versions/13522 JavaDoc: http://carrotsearch.github.io/hppc/releases/0.8.2/api
A bug fix release removing Intrisics class that somehow got included in the 0.8.0.
Resolved issues: https://issues.carrot2.org/projects/HPPC/versions/13521 JavaDoc: http://carrotsearch.github.io/hppc/releases/0.8.1/api
This is a maintenance release that drops the esoteric JARA completely, updates and modernizes project build process and brings a contractual improvement to map.get (return of default values is now guaranteed).
Resolved issues: https://issues.carrot2.org/projects/HPPC/versions/12628 JavaDoc: http://carrotsearch.github.io/hppc/releases/0.8.0/api
This is a bugfix release improving performance and documentation.
Check out the changelog.
This is a bugfix release providing OSGi support (http://issues.carrot2.org/secure/ReleaseNote.jspa?projectId=10070&version=12632).
Check out the changelog, virtually all the code remains identical to 0.7.1.
This is a bugfix release fixing a couple rough edges.
Check out the changelog and JavaDoc API.