evidently-data-structures
v1.2.0
Published
TypeScript powered set of data structures with the intent of being used in game development.
Downloads
7
Maintainers
Readme
Evidently Data Structures
A collection of various data structures and related classes:
Grid2D
- A two dimensional array.SpatialGrid2D
- A two dimensional array optimized for storing multiple entries per tile.FastPool
- A fast object pool that has no checks ensuring valid behavior.SlowPool
- Compatible withFastPool
it's slightly slower and prevents certain issues.
Documentation
The full documentation can be found here. Each class has an example in its description that covers usage.
Installing
Add it to your project via:
npm i --save evidently-data-structures
License
This project is licensed under the MIT License - see the LICENSE.md file for details