Skip to content

rtTools.Storage 0.1.0-preview.6

Pre-release
Pre-release

Choose a tag to compare

@bgtnt bgtnt released this 19 Nov 22:37

This preview reduces I/O and managed allocations in persistent queues, state storage and indexed history.

  • BufferedQueuePersistent<T> drains physically ordered records one cache window at a time. If a write reuses a hole ahead of an older entry, the queue scans the remaining ordering metadata to preserve FIFO.
  • DataStorage allocates less during reads, appends and raw recovery. SortedArrayCollection<T> locates the boundaries of long runs of duplicate keys in logarithmic time after finding a match.
  • DictionaryLogger takes a shallow state snapshot in one array. Queue enumeration avoids an extra array. LimitedList<T> reuses its backing array on clear and allocates a single backing array per copy.
  • Log reuses compression buffers and its range queries reuse bounded merge buffers. Producer threads release disposed logs and their indexes. TimeLog writes fixed record headers from stack storage.

The package was built from commit 1a79e5a. Package-only verification covers 261 History and persistence checks, six State checks and three sample lifecycles. The packaged sample also runs as a standalone consumer. The release verification report includes Windows and Ubuntu CI, a public API comparison, and measured results against preview.5.

Download the NuGet package into a local packages directory, then run this command.

dotnet add package rtTools.Storage --version 0.1.0-preview.6 --source ./packages

See the API overview and storage contracts. The release includes SHA256SUMS.txt for the package and verification report.