| ▲ | ozgrakkurt an hour ago | |
Would recommend learning how to use arena allocation. You would have patterns like: fn run_query(alloc) { | ||
| ▲ | simonask 29 minutes ago | parent [-] | |
Step zero of using arena allocation is to build realistic benchmarks so you can measure if it's worth the trouble in the first place. Standard allocators are incredibly good these days, and even plugging in mimalloc or jemalloc will be much less work, and much less error prone. | ||