subdgtl / WFC

Prototype tools for playing with Wave Function Collapse
The Unlicense
5 stars 1 forks source link

Use bump allocators for more stable memory use #25

Open yanchith opened 2 years ago

yanchith commented 2 years ago

This converts a few places using the global allocator for temporary memory to use a bump allocator instead. In practice, no wall time benefits show up on macro benchmarks, but we do see improved memory use (which is likely just a side effect of the OS committing less memory than we request)