How furkankirat/structforge works
StructForge is a .NET/Unity runtime library of allocation-conscious collections, spatial containers, and supporting enumeration and comparison utilities. Consumers use its collection APIs to store, query, traverse, and transform data; the README highlights zero-allocation enumeration, span access, packed bit arrays, and cache-friendly grids. The graph preserves the documented collection families and the sampled implementation links. Several capabilities are represented by their exact source files but were not inspected; their internal call relationships are therefore omitted.
Main entry points: SfEnumerableExtensions.cs Enumerable conversions · SfList.cs Dynamic list · SfAvlTree.cs AVL tree · SfDictionary.cs Dictionary
Components 25
Linear Collections
- Dynamic list
StructForge/Collections/SfList.cs - Linked list
StructForge/Collections/SfLinkedList.cs - Stack
StructForge/Collections/SfStack.cs - Queue
StructForge/Collections/SfQueue.cs - Ring buffer
StructForge/Collections/SfRingBuffer.cs - Dictionary
StructForge/Collections/SfDictionary.cs - Adjacency graph
StructForge/Collections/SfGraph.cs
Spatial Data
- 2D grid
StructForge/Collections/SfGrid2D.cs - 3D grid
StructForge/Collections/SfGrid3D.cs - Bit array
StructForge/Collections/SfBitArray.cs - 2D bit array
StructForge/Collections/SfBitArray2D.cs - 3D bit array
StructForge/Collections/SfBitArray3D.cs
Trees and Sets
- AVL tree
StructForge/Collections/SfAvlTree.cs - Sorted set
StructForge/Collections/SfSortedSet.cs - Binary heap
StructForge/Collections/SfBinaryHeap.cs - Priority queue
StructForge/Collections/SfPriorityQueue.cs - Hash set
StructForge/Collections/SfHashSet.cs - Enum set
StructForge/Collections/SfEnumSet.cs
Shared Runtime
- Comparer utilities
StructForge/Comparers/SfComparers.cs - Equality comparers
StructForge/Comparers/SfEqualityComparers.cs - Array enumerator
StructForge/Enumerators/SfArrayEnumerator.cs - Circular enumerator
StructForge/Enumerators/SfCircularQueueEnumerator.cs - Enumerable conversions
StructForge/Extensions/SfEnumerableExtensions.cs - Exception helpers
StructForge/Helpers/SfThrowHelper.cs
Other components
- Library consumer
Connections 26
- Library consumer → Dynamic list: uses collections
README.md - Stack → Dynamic list: stores in
StructForge/Collections/SfStack.cs - Adjacency graph → Dictionary: uses
StructForge/Collections/SfGraph.cs - Adjacency graph → Dynamic list: uses
StructForge/Collections/SfGraph.cs - 3D bit array → Bit array: uses
StructForge/Collections/SfBitArray3D.cs - Sorted set → AVL tree: backed by
README.md - Priority queue → Binary heap: wraps
README.md - Enum set → Bit array: uses
StructForge/Collections/SfEnumSet.cs - AVL tree → Comparer utilities: compares with
StructForge/Collections/SfAvlTree.cs - Binary heap → Comparer utilities: compares with
StructForge/Collections/SfBinaryHeap.cs - Sorted set → Comparer utilities: compares with
StructForge/Collections/SfSortedSet.cs - Dictionary → Equality comparers: uses
StructForge/Collections/SfDictionary.cs - Hash set → Equality comparers: uses
StructForge/Collections/SfHashSet.cs - Bit array → Equality comparers: uses
StructForge/Collections/SfBitArray.cs - Dynamic list → Array enumerator: enumerates with
StructForge/Collections/SfList.cs - Queue → Circular enumerator: enumerates with
StructForge/Collections/SfQueue.cs - Enumerable conversions → Dynamic list: converts to
StructForge/Extensions/SfEnumerableExtensions.cs - Enumerable conversions → Linked list: converts to
StructForge/Extensions/SfEnumerableExtensions.cs - Enumerable conversions → Queue: converts to
StructForge/Extensions/SfEnumerableExtensions.cs - Enumerable conversions → Stack: converts to
StructForge/Extensions/SfEnumerableExtensions.cs - Enumerable conversions → AVL tree: converts to
StructForge/Extensions/SfEnumerableExtensions.cs - Enumerable conversions → Binary heap: converts to
StructForge/Extensions/SfEnumerableExtensions.cs - Enumerable conversions → Sorted set: converts to
StructForge/Extensions/SfEnumerableExtensions.cs - AVL tree → Exception helpers: throws via
StructForge/Collections/SfAvlTree.cs - Dynamic list → Exception helpers: throws via
StructForge/Collections/SfList.cs - Dictionary → Exception helpers: throws via
StructForge/Collections/SfDictionary.cs