Skip to content

Commit

Permalink
Preparing version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Sep 23, 2014
1 parent a1914d2 commit 158d69d
Show file tree
Hide file tree
Showing 10 changed files with 482 additions and 467 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG
@@ -1,4 +1,7 @@
versio 0.3.7 (August 12th, 2014)
version 0.4.0 (September 23rd, 2014)
- Format change to reduce Java RAM memory usage

version 0.3.7 (August 12th, 2014)
- Roaring classes are no longer final
- Added a few convenience methods for fast aggregation using Iterator inputs

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -97,7 +97,7 @@ If your project depends on roaring, you can specify the dependency in the Mave
<dependency>
<groupId>org.roaringbitmap</groupId>
<artifactId>RoaringBitmap</artifactId>
<version>0.3.7</version>
<version>0.4.0</version>
</dependency>
</dependencies>

Expand Down
24 changes: 8 additions & 16 deletions pom.xml
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.roaringbitmap</groupId>
<artifactId>RoaringBitmap</artifactId>
<version>0.4.1-SNAPSHOT</version>
<version>0.3.8-SNAPSHOT</version>
<name>RoaringBitmap</name>
<url>https://github.com/lemire/RoaringBitmap</url>
<description>Roaring bitmaps are compressed bitmaps (also called bitsets) which tend to outperform
Expand Down Expand Up @@ -65,16 +65,11 @@
</dependencyManagement>
<dependencies>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.carrotsearch</groupId>
<artifactId>java-sizeof</artifactId>
<version>0.0.4</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<parent>
<groupId>org.sonatype.oss</groupId>
Expand Down Expand Up @@ -103,18 +98,15 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<configuration>
<skip>true</skip>
</configuration>
<!-- <executions>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions> -->
</executions>
</plugin>

<plugin>
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/roaringbitmap/FastAggregation.java
Expand Up @@ -12,7 +12,6 @@
import java.util.Iterator;
import java.util.PriorityQueue;

import org.roaringbitmap.buffer.ImmutableRoaringArray;


/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/roaringbitmap/RoaringArray.java
Expand Up @@ -16,7 +16,7 @@
* This is not meant to be used by end users.
*/
public final class RoaringArray implements Cloneable, Externalizable {
protected static final short SERIAL_COOKIE = 12345;
protected static final short SERIAL_COOKIE = 12346;

This comment has been minimized.

Copy link
@sharpnk

sharpnk Jun 24, 2015

This is checked during the deserialization process, wouldn't this change break backward compatibility when deserializing bitmap generated from previous versions?

This comment has been minimized.

Copy link
@lemire

lemire Jun 24, 2015

Author Member

@sharpnk Correct. But since we changed the file format and removed support from the old format, it is better to have an early failure that you can diagnosed rapidly instead of loading up corrupted data... This way you do not get garbage, you just get an exception.

As I explained in my email, we made this change at the time expecting that nobody was using Roaring in production yet...

This has changed now and we would definitively not break backward compatibility in such a manner.


private static final long serialVersionUID = 7L;

Expand Down

0 comments on commit 158d69d

Please sign in to comment.