hubs

Crates.iohubs
lib.rshubs
version0.1.1
sourcesrc
created_at2021-08-11 15:02:48.074993
updated_at2021-08-11 15:19:42.407839
descriptionThe horribly unsafe buffer structure
homepagehttps://amann.dev/projects/hubs/
repositoryhttps://github.com/dwarfhack/hubs
max_upload_size
id434791
size28,846
(trimoq)

documentation

https://docs.rs/hubs/

README

H.U.B.S.

The Horribly Unsafe Buffer Structure

Unsafe

This crate uses unsafe (as in the name).

About

It basically works but this code has not been used in production.

A Data Structure that allows for fast access to pre-allocated data in chunks and allows read-access to all currently comitted chunks in one call.

This is not a general ourpose data structure, if you attempt it to use it as such, it might yield terrible performance. This crate was made for slow-ticking game loops, so that one tick every 20ms or so can easily read hundreds of thousands of items with two atomic operations. Refer to the docs to get started.

Commit count: 17

cargo fmt