Found 52 packages
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.
Package Description
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.
Efficient MemoryStream powered by System.Buffers.ArrayPool
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``.
Packed bit collections. Storing sequences of boolean values in integers.
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.
Packed bit collections. Storing sequences of boolean values in integers. BitSet, BitVec
Fast, low-allocation ports of List, Dictionary, HashSet, Stack, and Queue using ArrayPool and Span.
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
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.