#memory #abstract #chunks #storage #heap #heterogeneously-sized #entity-collections

nightly chunky

Abstract storage of heterogeneously-sized entity-collections

14 releases

0.3.7 Jul 2, 2019
0.3.6 Jul 2, 2019
0.2.0 Jun 29, 2019
0.1.4 Dec 30, 2018
0.1.2 Jul 29, 2018

⚠️ Issues reported

#53 in #chunks

32 downloads per month
Used in kay

MIT license

27KB
570 lines

This crate offers an abstraction over allocating fixed-size chunks of memory and different low-level collection types making use of these chunks to emulate "infinite" dynamically growing storages for heterogeneously-sized items.

Its purpose is being able to abstract storage of entity-collections (such as actors in Kay) over both temporary heap memory and persistent mmap'ed memory used for both runtime and savegames.

Dependencies

~185KB