Tags: #memory #allocation #linux #kernel
http://stackoverflow.com/questions/39947921/why-is-memory-allocation-for-processes-slow-and-can-it-be-faster/39967913
http://stackoverflow.com/questions/39947921/why-is-memory-allocation-for-processes-slow-and-can-it-be-faster/39967913
Stack Overflow
Why is memory allocation for processes slow and can it be faster?
I relatively familiar how virtual memory works. All process memory is divided into pages and every page of the virtual memory maps to a page in real memory or a page in swap file or it can be a new...
Tags: #memory #performance #unique_ptr #shared_ptr
C++11 offers four different smart pointers.
http://www.modernescpp.com/index.php/memory-and-performance-overhead-of-smart-pointer
C++11 offers four different smart pointers.
http://www.modernescpp.com/index.php/memory-and-performance-overhead-of-smart-pointer
Tags: #memory #usage #stl
The C++ standard doesn’t dictate exact implementation details for standard library classes, so it’s unsurprising that details of memory usage are missing from most references.
http://info.prelert.com/blog/stl-container-memory-usage
The C++ standard doesn’t dictate exact implementation details for standard library classes, so it’s unsurprising that details of memory usage are missing from most references.
http://info.prelert.com/blog/stl-container-memory-usage
Prelert
STL Container Memory Usage when Developing with C++
When writing C++ code for many platforms the STL container memory usage can vary between implementations (Microsoft, GNU, etc). Make the right tradeoffs.
Tags: #RAII #memory #destructor
We have RAII in C++ and therefore the totally deterministic destruction of objects. But, what is RAII? That's the topic of this post.
http://www.modernescpp.com/index.php/garbage-collectio-no-thanks
We have RAII in C++ and therefore the totally deterministic destruction of objects. But, what is RAII? That's the topic of this post.
http://www.modernescpp.com/index.php/garbage-collectio-no-thanks
Modernescpp
Garbage Collection - No Thanks - ModernesCpp.com
Small Vector Optimization
#Optimize #Vector #Memory
https://stoyannk.wordpress.com/2017/11/18/small-vector-optimization/
#Optimize #Vector #Memory
https://stoyannk.wordpress.com/2017/11/18/small-vector-optimization/
Prog stuff
Small vector optimization
One of the key performance optimization techniques involves reducing the number of dynamic memory allocation that a program does. The reasons are: Generic memory allocations are relatively slow Hea…
Rules for allocating and Deallocating
#Rules #Memory #allocate
http://www.modernescpp.com/index.php/c-core-guidelines-allocating-and-deallocating
#Rules #Memory #allocate
http://www.modernescpp.com/index.php/c-core-guidelines-allocating-and-deallocating
Why it is important to check what the malloc function returned
#malloc #memory
https://www.viva64.com/en/b/0558/
#malloc #memory
https://www.viva64.com/en/b/0558/
Viva64
Why it is important to check what the malloc function returned
We'd like to present the series of articles dealing with the recommendations on writing code of high quality using the examples of errors found in the Chromium project. This is the 6th pa...