Closed Delaunay closed 2 years ago
The idea would be to use the same allocator for std::vevtor and Value, so everything is allocated in one big chunk of memory.
Since the environment keeps growing and shrinking we expect that very few allocation would be needed in practice. and most memory would be reused.
I simply need to refactor the code to use emplace_back everywhere
The idea would be to use the same allocator for std::vevtor and Value, so everything is allocated in one big chunk of memory.
Since the environment keeps growing and shrinking we expect that very few allocation would be needed in practice. and most memory would be reused.