31 packages tagged with “arraypool”
Includes PooledList, PooledDictionary, PooledSet, PooledStack, and PooledQueue: based on the corresponding collections in System.Collections.Generic, but using ArrayPool internally to reduce allocations, and with some API changes that allow for better compatibility with Span.
这是一个基础服务功能的库,其中包含:内存池、对象池、文件池、流式数据解包器、等待逻辑池、AppMessenger、3DES加密、Xml快速存储、运行时间测量器、文件快捷操作、高性能二进制序列化器、规范日志接口等。 说明文档:https://touchsocket.net/
An improved, high-performance buffer pooling system that replaces ArrayPool<T>
Provides IDisposable leases for Microsoft's ArrayPool class from the System.Buffers package.
ListPool and ValueListPool are optimized allocation free implementations of IList using ArrayPool. Changelog: * Improve dispose performance ListPool is the general use of the implementation, we recommend to use ListPool for most of the cases. ValueListPool is the zero heap allocations implementation, it is optimal working along stackalloc initial buffer for small lists. Note, because it is a struct it is passed by value, not by reference.
High-performance hexadecimal converter
The eco friendly set of array pool based collections for netstandard2.1. Container's storage allocated and recycled back to shared memory pool by default. List of generic collections and APIs supported: - ``List`` - ``Map`` - ``Set`` - ``Stack`` - ``Queue`` Some extras built in: - BitArr - std::vector api - Python like APIs. Append methods, ``+`` ``-``, equality operators overloaded. - Lambda allocation free enumerable extensions Each collection is serializable by default. It has a class destructor defined and ``System.IDisposable`` interface implemented to recycle internal storage on demand or by ``GC``.
Efficient MemoryStream powered by System.Buffers.ArrayPool
Packed bit collections. Storing sequences of boolean values in integers.
Packed bit collections. Storing sequences of boolean values in integers. BitSet, BitVec
Packages types and functionality used for many `Rustic.Memory` projects.
MemoryStream alternative using array pool instead of GC new. Best used for LOH sized streams. Look at benchmarks on github for details.
IBufferWriter implementing IVector interface. BufWriter, RentArray
Commonly used collection implementation allowing by-ref access to the storage. Vec, RefVec, PoolVec
Immutable inline array-like implementations for passing tiny lists without heap allocations. TinyRoSpan, TinyRoVec, TinyVec
A custom HttpContent that wraps a rented byte array from an ArrayPool, writes only the valid byte range to outgoing streams, and returns the buffer to the pool when disposed to reduce GC allocations.
Fast, low-allocation ports of List, Dictionary, HashSet, Stack, and Queue using ArrayPool and Span.
Recyclable.Collections project is an open source framework for operating dynamic lists at performance close to raw arrays. It aims at providing minimal memory footprint. It implements IList<T>'s interface and is targeted as direct replacements of List<T>, SortableList<T>, PriorityQueue<T> and similar.
A low-allocation collection library using pooled arrays
这是一个基础服务功能的库,其中包含:内存池、对象池、文件池、流式数据解包器、等待逻辑池、AppMessenger、3DES加密、Xml快速存储、运行时间测量器、文件快捷操作、高性能二进制序列化器、规范日志接口等。 说明文档:http://unitos.cn/
A low-allocation collection library using pooled arrays (with MemoryPack)
Recyclable.Collections.Compatibility.List project is an open source framework for operating dynamic lists at performance close to raw arrays. It aims at providing minimal memory footprint. It implements IList<T>'s interface and is targeted as direct replacements of List<T>, SortableList<T>, PriorityQueue<T> and similar.
High-performance formatters for ListPool.
Array Pool Scope allows you to use ArrayPool in a scope-like manner.
Library to make working with native memory less of a pain.
RentedMemory is a library that builds on ArrayPool to make it explicit that you are using a rented array and adds some functionality. Includes: - RentedMemory is a readonly struct wrapper around ArrayPool used kinda like dispose pattern. - RentedMemoryBuilder is a StringBuilder alternative with zero allocation (pooled) and works on any struct. - RentedObjects is a lightweight objectpool where you create the objects yourself.
High-performance converters for ListPool.
Library for calculating Levenshtein distance between two strings. Use optimization for "zero" allocation by stackalloc or ArrayPool.
High-performance TOON format serialization for .NET. Expression tree-based with zero reflection overhead. ArrayPool memory optimization, ConfigureAwait best practices. 449+ tests, 100% TOON v3.0 spec compliance. Perfect for AI/LLM token optimization, configuration files, and data exchange.