CRoaring icon indicating copy to clipboard operation
CRoaring copied to clipboard

Roaring bitmaps in C (and C++), with SIMD (AVX2, AVX-512 and NEON) optimizations: used by Apache Doris, ClickHouse, and StarRocks

Results 88 CRoaring issues
Sort by recently updated
recently updated
newest added

[Conjunctive normal form (CNF)](https://en.wikipedia.org/wiki/Conjunctive_normal_form) is a notation to represent some operations frequently used in a few niches. It can be seen as an extension of a feature we already support,...

enhancement

Rather than branching each time, consider doing something like this: ```C int (*run_container_cardinality)(const run_container_t *run) = run_container_cardinality_dispatch; int run_container_cardinality_dispatch(const run_container_t *run) { if (croaring_avx2()) { run_container_cardinality = _avx2_run_container_cardinality; } else...

See blog post [Faster sorted array unions by reducing branches](https://lemire.me/blog/2021/07/14/faster-sorted-array-unions-by-reducing-branches/)

The title is self-descriptive. Many files fail the `clang-format-check.sh`, discouraging using `clang-format.sh` to keep the newer patches in shape. Fixing is easy, a single commit per-file for easy revision, and...

Hi, thank you for this great piece of software. It is speeding up my c++ program a lot! One thing I stumbled upon while using the Roaring class in the...

I'm planning on implementing a feature to do this but I'd like early feedback on the design. The idea is to use a heap such as in the `roaring_bitmap_or_many_heap` implementation...

The Go version has been parallelized https://github.com/RoaringBitmap/roaring/pull/109

@andreigudkov [proposed we do the following](https://github.com/RoaringBitmap/CRoaring/pull/177#issuecomment-410769028): * Remove entirely ROARING_DISABLE_AVX and ROARING_DISABLE_NATIVE options * For conditional compilation, use #ifdef __AVX2__ * To select target architecture, use CMAKE_C_FLAGS I think that...

help wanted

Currently error handling is poor: * failure to allocate memory results in error message sent to stderr and segfault (e.g. in `roaring_bitmap_add()`) * there is no way to distinguish between...

enhancement
help wanted

Add a pluggable backing implementation for APIs so that GPUs can be leveraged for querying. Would easily cut latency of query operations via parallelization across GPU cores. NVIDIA CUDA comes...