RangeFinder 0.1.1
Prefix Reserved
Additional Details
This package is deprecated due to a critical bug in handling negative values. A fixed version will be uploaded soon.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package RangeFinder --version 0.1.1
NuGet\Install-Package RangeFinder -Version 0.1.1
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="RangeFinder" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RangeFinder" Version="0.1.1" />
<PackageReference Include="RangeFinder" />
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 RangeFinder --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RangeFinder, 0.1.1"
#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 RangeFinder@0.1.1
#: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=RangeFinder&version=0.1.1
#tool nuget:?package=RangeFinder&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RangeFinder
A high-performance .NET range query library for general numeric ranges. Inspired by RangeTree library with focus on performance optimization.
Features
- High Performance: Fast construction, fast query
- Generic Support: Works with any numeric type (
int
,double
,decimal
, etc.) - Simple API: Easy-to-use interface for range overlap detection
- Memory Efficient: Optimized for cache locality and minimal allocations
- Thread Safe: Immutable data structures for concurrent access
Quick Start
using RangeFinder.Core;
// Create ranges
var ranges = new List<NumericRange<double, string>>
{
new(1.0, 5.0, "Range1"), new(3.0, 7.0, "Range2"), new(10.0, 15.0, "Range3")
};
// Build range finder
var finder = new RangeFinder<double, string>(ranges);
// Query overlapping ranges
var overlaps = finder.QueryRanges(4.0, 6.0); // Returns: Range1, Range2
For detailed documentation and examples, visit the GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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.
-
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.