- All containers optionally use ArrayPool
- Buffers
DirectAllocationArrayPool<T>
Pretend to have poolingArrayPoolFactory
Factory abstraction provides array pool implementation
- Not Sync / Non Concurrent / No Thread Safe
Vec<T>
ReimplementedList<T>
, can unsafely retrieve the internal Array or as Span, Memory todo methods same toList<T>
- Sync / Concurrent / Thread safe
OnceInit<T>
Similar toLazy<T>
, but provides init function when getting
Inspired by rustOnceCell<T>
- Memories
Box<T>
ReadOnlyBox<T>
Simply wrap a value onto the heapArrayRef<T>
ReadOnlyArrayRef<T>
A fat reference (T[] + offset
) that can be safely put on the heap, not a ref structMemoryRef<T>
ReadOnlyMemoryRef<T>
A fat reference (Memory<T> + offset
) that can be safely put on the heap, not a ref structOffsetRef<T>
ReadOnlyOffsetRef<T>
A fat reference (object + offset
) that can be safely put on the heap, not a ref structMemoryEx
- Provides
GetEnumerator
forMemory<T>
ReadOnlyMemory<T>
- Provides
- Cryptography
AHasher
A hasher that ensures even distribution of each bit
If possible use Aes SIMD acceleration (.net7+)
Algorithm from https://github.com/tkaitchuck/aHash
-
Notifications
You must be signed in to change notification settings - Fork 0
Some better collection implementations than the system library
License
libsugar/BetterCollections
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Some better collection implementations than the system library
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published