HeaplessUtility 0.3.0

dotnet add package HeaplessUtility --version 0.3.0                
NuGet\Install-Package HeaplessUtility -Version 0.3.0                
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="HeaplessUtility" Version="0.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HeaplessUtility --version 0.3.0                
#r "nuget: HeaplessUtility, 0.3.0"                
#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 HeaplessUtility as a Cake Addin
#addin nuget:?package=HeaplessUtility&version=0.3.0

// Install HeaplessUtility as a Cake Tool
#tool nuget:?package=HeaplessUtility&version=0.3.0                

HeaplessUtility

This package mainly contains the list and buffer implementations

Definition Desciption
ref struct RefVec Temporary array allocating from ArrayPool<T>.Default.
class Vec System.Collections.Generic.List-like implementation allowing by-ref access.
class PoolVec Vec implementation allocating from a ArrayPool<T> instance.
class BufWriter IBufferWriter similar to Vec.
class PoolBufWriter IBufferWriter similar to PoolVec.

that aim to optimize memory management, by

  • returning structs by-ref or -readonly ref on access,
  • and optimizing for temporary array usage by providing implementations allowing allocation from a ArrayPool<T>.

In addition to that HeaplessUtility provides the non-allocating helpers for parsing

Definition Description
ref struct StrBuilder ValueStringBuilder from ValueStringBuilder: a stack-based string-builder.
ref struct SplitIter Iterator slicing a sequence of elements into smaller sequences, by a set of separators. Analogous in function to string.Split
ref struct Tokenizer Allows scanning and navigating a sequence of elements on a per-iteration basis. Inspired by Utf8JsonReader but much more generic.
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  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 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on HeaplessUtility:

Package Downloads
RedisProtobufCollections

List & Dictionary wrappers for redis backed by protobuffer serialization, for [ProtoContract] types.

StrongFilePath

Strong typed file path structure

GitHub repositories

This package is not used by any popular GitHub repositories.