Roaring.Net 1.3.2

dotnet add package Roaring.Net --version 1.3.2
                    
NuGet\Install-Package Roaring.Net -Version 1.3.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Roaring.Net" Version="1.3.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Roaring.Net" Version="1.3.2" />
                    
Directory.Packages.props
<PackageReference Include="Roaring.Net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Roaring.Net --version 1.3.2
                    
#r "nuget: Roaring.Net, 1.3.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Roaring.Net@1.3.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Roaring.Net&version=1.3.2
                    
Install as a Cake Addin
#tool nuget:?package=Roaring.Net&version=1.3.2
                    
Install as a Cake Tool

Roaring.Net

push-master workflow status GitHub Release NuGet Version Codecov CRoaring version

A .NET wrapper for CRoaring - a C implementation of RoaringBitmap.

Support

Supported runtimes

Platform/Architecture x86 x64 arm arm64
windows
linux
osx

Supported frameworks

  • .NET 8
  • .NET 6

Usage

using var rb1 = new Roaring32Bitmap();
using var rb2 = new Roaring32Bitmap();

rb1.AddMany([1, 2, 3, 4, 5, 100, 1000]);
rb1.Optimize();

rb2.AddMany([3, 4, 5, 7, 50]);
rb2.Optimize();

using var result = rb1.And(rb2);

Console.WriteLine(result.Contains(2));
Console.WriteLine(result.Contains(4));
Console.WriteLine(result.Contains(5));

Requirements

Linux

  • gcc
  • VCpkg and please do vcpkg integrate install. (CMake for CRoaring will be handled by VCpkg on your behalf.)
  • run build/build-libs.sh to build a CRoaring library

Windows

  • VS2022 or later
  • VCpkg and please do vcpkg integrate install. (CMake for CRoaring will be handled by VCpkg on your behalf.)
  • run build/build-libs.bat to build a CRoaring library
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.2 149 9/7/2025
1.3.1 32,073 6/10/2025
1.3.0 174 4/18/2025
1.2.0 165 3/20/2025
1.1.0 120 12/28/2024
1.0.0 693 9/29/2024
1.0.0-alpha.4 156 9/3/2024
1.0.0-alpha.3 237 8/18/2024
1.0.0-alpha.2 88 8/11/2024
1.0.0-alpha.1 78 7/23/2024