3 ms·
i guess i was using 'dynamic allocation' to mean allocation that occurs in the midst of the main control flow, likely in response to some conditional evaluation
by abiox 9y ago
i guess i was using 'dynamic allocation' to mean allocation that occurs in the midst of the main control flow, likely in response to some conditional evaluation (vs upfront).
- vvanders 9y agoYeah, if you allocate in the main loop or preallocate you're still going to pay the overhead of a heap to keep track of those allocation :).