Hiperspace.Heap 1.2.28

There is a newer version of this package available.
See the version list below for details.
dotnet add package Hiperspace.Heap --version 1.2.28                
NuGet\Install-Package Hiperspace.Heap -Version 1.2.28                
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="Hiperspace.Heap" Version="1.2.28" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hiperspace.Heap --version 1.2.28                
#r "nuget: Hiperspace.Heap, 1.2.28"                
#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.
// Install Hiperspace.Heap as a Cake Addin
#addin nuget:?package=Hiperspace.Heap&version=1.2.28

// Install Hiperspace.Heap as a Cake Tool
#tool nuget:?package=Hiperspace.Heap&version=1.2.28                

Hiperspace.Heap

The Heap driver provides the simplest hiperspace, storing objects in the managed process heap, it exists for testing purposes, but also for benchmark performance of other drivers.
The Heap driver uses more memory, and is slower than the Rocks driver.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2.31 92 9/15/2024
1.2.28 80 9/7/2024
1.2.26 71 9/1/2024
1.2.8 82 7/15/2024
1.2.4 75 7/4/2024
1.2.0 94 5/30/2024
1.0.34 128 3/14/2024
1.0.28 93 2/26/2024
1.0.27 110 2/16/2024
1.0.24 128 1/11/2024
1.0.23 134 1/1/2024
1.0.1 134 11/18/2023

## ConcurentHashSet
     The hash map for set spaces has been updated to use concurrent hash map.
     This is needed for two scenarios
     1. Horizons filter cause additional elements to be loaded in a set space while it is being enumerated.
     2. Parallel scan for Node and Edge cause references to be loaded in thread order.

     This implementation of Concurent HashSet:
     * Provides locking around HashSet functions (using low-contention Spin Locks)
     * One or more HashSet segments that are locked for read while enumeration functions are running
     * Add / Remove / Replace / UnionAll operations are performed on the next segment to avoid mutation during enumeration
     * Any additions made (to next segment) are merged when the last enumeration has completed
     * Whole-set functions are deferred until enumerations has completed

     ## RockSpace disposal
     Internally the RocksDB Flush function uses async-io, that under heavy load can complete before pending IO, which blocks disposal of the connection. The RocksSpace driver has been updated to retry disposal to allow async IO to complete

     ## HiperSpace GetHorizons() function
     A common loading scenario is to use a SessionSpace to batch a set of additions to a domain space

     ```
     public void LoadingFunction (DomainSpace domain)
     {
     using (var session = new SessionSpace (new HeapSpace(), domain, SessionSpace.RollUpSeconds(1))))
     using (var loader = new DomainSpace(session))
     {
     ... load actions
     }
     }
     ```

     The `GetHorizons()` function allows `loader` to apply any domain Horizon filters.  This is especially useful in server configurations where role-based access control is applied to the source source transparently to the local function.