r/programming • • 8d ago

It's all about the allocator

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

3 comments sorted by

7

u/ninetailedoctopus 7d 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.

5

u/jurado_alexandra-9 6d ago

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