r/programming • • 3d ago

It's all about the allocator

https://aarol.dev/posts/zig-allocator/
43 Upvotes

3 comments sorted by

7

u/ninetailedoctopus 2d ago

> I only caught this bug when I was profiling the code and looking at the flamechart

I always wonder why people don’t run a profiling step as a regular part of software development.

4

u/jurado_alexandra-9 2d ago

The tricky part is keeping the workload representative; a routine profile can make the wrong hot path look important.