expandable_grid

Crates.ioexpandable_grid
lib.rsexpandable_grid
version0.1.5
sourcesrc
created_at2024-06-30 06:35:05.780337
updated_at2024-07-12 05:29:24.023801
descriptionA simple, expandable, non-chunked 2d grid ideal for dynamic simulations
homepage
repositoryhttps://github.com/Mycellf/expandable_grid
max_upload_size
id1287796
size16,975
(Mycellf)

documentation

README

This crate provides a simple, expandable 2d grid which can be accessed from arbitrary signed isize coordinates. It stores its data in a unified area in memory, and copies it to another allocation when changing size like a vec does. It always takes up the minimum amount of space for its accessible size, however, it also overexpands when resizing to fit an area to reduce allocations.

Commit count: 15

cargo fmt