3 ms·
Author here - thanks for the feedback! I agree this is not an apples-to-apples comparison. I've always read about how the stack was faster than the heap when it
by slaghate 2y ago
Author here - thanks for the feedback! I agree this is not an apples-to-apples comparison. I've always read about how the stack was faster than the heap when it comes to memory allocation and wanted to explore that. Will definitely look into `std::pmr::monotonic_buffer_resource` for a stack to stack comparison.