3 ms·
Thank you for sharing, I've never considered allocating the memory for an entire Go program at launch. One neat thing that Go has is built-in benchmarking (par
by Xeoncross 3y ago
Thank you for sharing, I've never considered allocating the memory for an entire Go program at launch.
One neat thing that Go has is built-in benchmarking (part of the built-in test package) which shows you allocations per-invocation making it easy to spot the functions which need more work.