3 ms·
Some may argue that the real problem here is the unstated assumption of wanting to have a garbage collector in the first place.
by stmw 7mo ago
Some may argue that the real problem here is the unstated assumption of wanting to have a garbage collector in the first place.
- Lt_Riza_Hawkeye 7mo agoEven if you use C++, and your lambdas allocate to the heap when created and deallocate when going out of scope, this paper could still help reduce the need for heap allocation for capturing lambdas in the first place, improving performance.
- gpderetta 7mo agoto be clear, C++ doesn't allocate lambdas on the heap. The allocation is under user control like for any other type.