T
tharinda.gl
Hi,
Is the standard stl allocator in gcc is bettor (in performance) than
malloc or is it same as malloc?
I'm going to implement an object pooling mechanism to reduce the
number of memory allocations and deallocations performed.
It seems pointless to use stl containers (such as std::list) to
implement such a mechanism if they start doing memory allocations and
deallocations for every operation I perform on them
TIA,
Tharinda
Is the standard stl allocator in gcc is bettor (in performance) than
malloc or is it same as malloc?
I'm going to implement an object pooling mechanism to reduce the
number of memory allocations and deallocations performed.
It seems pointless to use stl containers (such as std::list) to
implement such a mechanism if they start doing memory allocations and
deallocations for every operation I perform on them
TIA,
Tharinda