buzz icon indicating copy to clipboard operation
buzz copied to clipboard

CLI option to select allocation strategy

Open giann opened this issue 2 years ago • 0 comments

Depending on what type of program you might be writting with buzz. You might want to fine-tune the allocation strategy used:

  • Small memory footprint and short lifespan: arena allocator
  • Long lived loop with many short-lived objects (game): something like https://nullprogram.com/blog/2023/09/27/
  • Others ?
  • Default: mimalloc

This is only useful if performance impact is significant compared to mimalloc in those specific contexts.

giann avatar Sep 28 '23 06:09 giann