Re:Drop millions of allocations by using a linked list (2015)
by BunsanSpace on Friday March 12, 2021 @08:04AM
(#26435385)
the SOP with C++ is you overload the new and delete operators and implement your own heap.
It can be very handy especially when you add tags to your allocation so you can track the number of allocations from a specific piece of code, great for finding memory leaks.
It can be very handy especially when you add tags to your allocation so you can track the number of allocations from a specific piece of code, great for finding memory leaks.