https://github.com/matrixai/js-array-fixed
Array with a Fixed Preallocated Length
https://github.com/matrixai/js-array-fixed
array fixed-length javascript nodejs
Last synced: 2 months ago
JSON representation
Array with a Fixed Preallocated Length
- Host: GitHub
- URL: https://github.com/matrixai/js-array-fixed
- Owner: MatrixAI
- License: apache-2.0
- Created: 2018-01-15T13:08:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-27T10:14:30.000Z (about 7 years ago)
- Last Synced: 2025-02-27T16:39:59.426Z (3 months ago)
- Topics: array, fixed-length, javascript, nodejs
- Language: JavaScript
- Homepage: https://matrix.ai
- Size: 1.57 MB
- Stars: 1
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ArrayFixed
`ArrayFixed` is a fixed length sparse JavaScript array. The main advantage of a fixed length sparse array, is that we maintain a count along with the array length. Extending on the fixed length sparse array, we create a fixed length sparse array that is dense in one direction (left or right). The `ArrayFixedDense` ensures that the array is kept dense in one particular direction.