Structure of arrays (SoA).
SoAs are common in game engines.
Initially a builtin feature in the Jai programming language that later was made into a library solution.
TODO: merge with soa_petar_kirov.d by 1. allocate all arrays in a single chunk 2. calculating _capacity based on _length
TODO: merge with variant_arrays.d? TODO: Maybe growth logic can be hidden inside a wrapper Allocator
Structure of Arrays similar to members of S.
http://forum.dlang.org/post/wvulryummkqtskiwrusb@forum.dlang.org https://forum.dlang.org/post/purhollnapramxczmcka@forum.dlang.org https://forum.dlang.org/post/cvxuagislrpfomalcelc@forum.dlang.org https://maikklein.github.io/post/soa-d/
See Source File
Structure of arrays (SoA).
SoAs are common in game engines.
Initially a builtin feature in the Jai programming language that later was made into a library solution.
TODO: merge with soa_petar_kirov.d by 1. allocate all arrays in a single chunk 2. calculating _capacity based on _length
TODO: merge with variant_arrays.d? TODO: Maybe growth logic can be hidden inside a wrapper Allocator