r/programming • • 13d ago

It's all about the allocator

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

3 comments sorted by

8

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

6

u/jurado_alexandra-9 11d ago

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