4 ms·
Meh, sometimes there are easier ways than GC. Just allocate all the list items from a big pool of memory that you own. When you're done, throw the whole lot aw
by kayamon 10y ago
Meh, sometimes there are easier ways than GC.
Just allocate all the list items from a big pool of memory that you own. When you're done, throw the whole lot away in one go. Languages like C++ tend to encourage micromanagement of data but it's not the only way to do things.