69

Release Version 2.2.0 · brianburton/java-immutable-collections · GitHub

 6 years ago
source link: https://github.com/brianburton/java-immutable-collections/releases/tag/v2.2.0
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Version 2.2.0

Compare

@brianburtonbrianburton

released this

23 Dec 06:03
· 414 commits to master since this release

This release provides the following major improvements.

  • Sorted map, JImmutables.sortedMap(), implementation changed to use a B-Tree instead of a 2-3 Tree. The B-Tree implementation offers better performance and simpler code.
  • Hash map, JImmutables.map(), implementation changed to use a simpler HAMT implementation that stores values inside interior nodes as well as in leaf nodes. The new implementation offers significant performance improvements and some memory savings.
  • Sparse array, JImmutables.array(), implementation simplified by removing the extra methods previously used by hash maps.
  • All collections now implement Serializable interface.
  • All collections now provide methods to create Stream Collector implementations that can be used to construct collections directly from a Stream.

More information about the new maps is available in a blog post.

    <dependency>
      <groupId>org.javimmutable</groupId>
      <artifactId>javimmutable-collections</artifactId>
      <version>2.2.0</version>
    </dependency>

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK