Y
Hacker News
new
|
ask
|
show
|
jobs
by
kvemkon
36 days ago
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.