Skip to content

6.1.0 (March 2015)

Compare
Choose a tag to compare
@goldmansachs goldmansachs released this 25 Mar 18:10
· 89 commits to master since this release

Binaries

gs-collections-6.1.0.zip

Javadoc

6.1.0 Javadoc

JDiff

Differences between 6.0.0 and 6.1.0

Acquiring GS Collections

Maven

<dependency>
  <groupId>com.goldmansachs</groupId>
  <artifactId>gs-collections-api</artifactId>
  <version>6.1.0</version>
</dependency>

<dependency>
  <groupId>com.goldmansachs</groupId>
  <artifactId>gs-collections</artifactId>
  <version>6.1.0</version>
</dependency>

<dependency>
  <groupId>com.goldmansachs</groupId>
  <artifactId>gs-collections-testutils</artifactId>
  <version>6.1.0</version>
  <scope>test</scope>
</dependency>

<dependency>
  <groupId>com.goldmansachs</groupId>
  <artifactId>gs-collections-forkjoin</artifactId>
  <version>6.1.0</version>
</dependency>

Ivy

<dependency org="com.goldmansachs" name="gs-collections-api" rev="6.1.0" />
<dependency org="com.goldmansachs" name="gs-collections" rev="6.1.0" />
<dependency org="com.goldmansachs" name="gs-collections-testutils" rev="6.1.0" />
<dependency org="com.goldmansachs" name="gs-collections-forkjoin" rev="6.1.0"/>

New Functionality

Travis CI build

A continuous build runs at travis-ci and its status is reflected in the README badge.

Allow ArrayList to have subclasses.

Fixes #19.

ParallelIterable.flatCollect()

Optimizations

  • Optimize ArrayList.addAll(PrimitiveIterable) to avoid an array copy when the parameter is also a ArrayList. Fixes #19.
  • Optimize primitive maps/sets probing method.

Bug Fixes

  • Fix size() on the views of ConcurrentHashMap.
  • Fix the iteration order of several iteration patterns.

Performance and memory tests

Many new performance and memory tests supporting the material in the presentation "Scala Collections Performance" at Scala Days San Francisco 2015. There are new JMH tests for several lists, sorted sets, and maps as well as new memory tests for several sets and maps.