superdupergrid 0.2.6

An extremely optimized and safe spatial hash grid.
Documentation
  • Coverage
  • 85%
    17 out of 20 items documented0 out of 19 items with examples
  • Size
  • Source code size: 57.84 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Altanis/superdupergrid
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Altanis

superdupergrid

A simple, optimized, safe, Aspect-approved, GPLv3 compliant spatial hash grid.

Benchmark

A benchmarking tool is included in the examples folder.

> RUSTFLAGS='-C target-cpu=native' cargo build --release --example bench
> ./target/release/examples/bench --cell-size 9 --count 10000 --width 100000 --height 100000 --min-size 10 --max-size 1000
Setup:
	Arena width:  100,000
	Arena height: 100,000
	Cell size:    512x512
	Entity count: 10,000
	Minimum entity size:  10x10
	Maximum entity size:  1000x1000
Took 1.866101ms to insert 10,000 entities
Took 3.663191ms to probe 10,000 entities
Collisions: 32,900; average: 3.29