Permalink
Browse files

Minor change.

  • Loading branch information...
1 parent 4f3e204 commit 9b6f91f17f828122b044c4023f4edc800893f61d @lemire committed May 28, 2012
Showing with 5 additions and 2 deletions.
  1. +3 −0 CHANGELOG
  2. +1 −1 headers/ewah.h
  3. +1 −1 makefile
View
@@ -1,3 +1,6 @@
+0.3.1 (May 28th, 2012)
+ Fixed a perf. regression bug.
+
0.3.0 (May 24th, 2012)
Fix a bug with the computation of the cardinality.
Improved compatibility with microsoft compilers.
View
@@ -670,7 +670,7 @@ void EWAHBoolArray<uword>::set(size_t i) {
+ wordinbits - 1) / wordinbits;
sizeinbits = i + 1;
if (dist > 0) {// easy
- fastaddStreamOfEmptyWords(false, dist - 1);
+ if(dist>1) fastaddStreamOfEmptyWords(false, dist - 1);
addLiteralWord(
static_cast<uword> (static_cast<uword> (1) << (i % wordinbits)));
return;
View
@@ -25,6 +25,6 @@ doxygen:
package:
zip -9 EWAHBoolArray_`date +%Y-%m-%d`.zip README CHANGELOG makefile example.cpp headers/*.h src/*.cpp
- cd ..;zip -9 ./EWAHBoolArray/EWAHBoolArray.0.3.0-src.zip ./EWAHBoolArray/README ./EWAHBoolArray/CHANGELOG ./EWAHBoolArray/makefile ./EWAHBoolArray/example.cpp ./EWAHBoolArray/headers/*.h ./EWAHBoolArray/src/*.cpp
+ cd ..;zip -9 ./EWAHBoolArray/EWAHBoolArray.0.3.1-src.zip ./EWAHBoolArray/README ./EWAHBoolArray/CHANGELOG ./EWAHBoolArray/makefile ./EWAHBoolArray/example.cpp ./EWAHBoolArray/headers/*.h ./EWAHBoolArray/src/*.cpp
clean:
rm -f *.o unit example unit32bits benchmark

0 comments on commit 9b6f91f

Please sign in to comment.