logoalt Hacker News

kvemkon • yesterday at 6:04 PM • 0 replies • view on HN

Similar with malloc in C / new in C++, especially for short-living, repeating, in hot path. And then you hear: avoid allocations, use constant-size buffers or memory pools. Avoid spawning threads, use thread pools.