https://github.com/fiddlydigital/fastmap
A simple 2D map that is optimized for speed.
https://github.com/fiddlydigital/fastmap
array cimage data map
Last synced: 8 months ago
JSON representation
A simple 2D map that is optimized for speed.
- Host: GitHub
- URL: https://github.com/fiddlydigital/fastmap
- Owner: FiddlyDigital
- Created: 2025-01-31T22:31:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-02T21:02:38.000Z (over 1 year ago)
- Last Synced: 2025-03-08T09:17:25.218Z (over 1 year ago)
- Topics: array, cimage, data, map
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@speakingsoftware/fastmap
- Size: 50.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FastMap
A simple 2D map that is optimized for speed.
* Internally, it is a 1D array that is accessed using 2D coordinates. This makes is extremely fast for large maps, as it avoids the overhead and mess of nested arrays.
* Inspired by the CImage class in Vladimir Kovalevsky's book "Modern Algorithms for Image Processing"