sark_grids

Crates.iosark_grids
lib.rssark_grids
version0.5.9
sourcesrc
created_at2022-01-01 07:20:33.677686
updated_at2024-03-17 15:35:45.324539
descriptionA set of grids for storing and accessing data in a grid-like way.
homepagehttps://github.com/sarkahn/sark_grids_rs
repositoryhttps://github.com/sarkahn/sark_grids_rs
max_upload_size
id506043
size106,379
sark (sarkahn)

documentation

README

License: MIT Crates.io docs

A set of grids for storing and accessing data in a grid-like way.

This crate provides three types of grids:

  • Grid: A dense grid that stores it's internal data in a Vec. The size of the grid is constant and elements cannot be removed, only changed. Provides fast iteration and access speed.

  • SparseGrid: A grid that stores it's internal data in a BTreeMap. Elements don't take up any memory until they're inserted and can be removed as needed, but iteration and access speed will be slower than a Grid for large full grids.

  • WorldGrid: A utility for translating between aligned grid points and world space.

Commit count: 88

cargo fmt