We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
here is the sample code, the result should be [0,2] which is not
BitmapFactory bitmapFactory = new ConciseBitmapFactory(); MutableBitmap bitmap = bitmapFactory.makeEmptyMutableBitmap(); for (int i = 0; i < 3; ++i) { bitmap.add(i); } MutableBitmap diff = bitmapFactory.makeEmptyMutableBitmap(); diff.add(1); ImmutableBitmap result = bitmapFactory.makeImmutableBitmap(bitmap).difference(bitmapFactory.makeImmutableBitmap(diff)); System.out.println(result);
the result is correct with using RoaringBitmapFactory or MutableBitmap
BitmapFactory bitmapFactory = new ConciseBitmapFactory(); MutableBitmap bitmap = bitmapFactory.makeEmptyMutableBitmap(); for (int i = 0; i < 3; ++i) { bitmap.add(i); } MutableBitmap diff = bitmapFactory.makeEmptyMutableBitmap(); diff.add(1); ImmutableBitmap result = bitmap.difference(diff); System.out.println(result);
May I create a pr to fix this? thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
here is the sample code, the result should be [0,2] which is not
the result is correct with using RoaringBitmapFactory or MutableBitmap
May I create a pr to fix this? thanks
The text was updated successfully, but these errors were encountered: