We investigate how memory consumption, dataset size and software performance correlate…
All posts tagged memory fragmentation
Why do programs get slower with time?
Posted on Author Ivica BogosavljevićPosted in C++ Performance, Performance, System DesignLeave a Reply
We investigate why software gets slower as new features are added or data set grows and what can you do about it.
The price of dynamic memory: Memory Access
Posted on Author Ivica BogosavljevićPosted in C++ Performance, Data Structure Performance, Low Level Performance, PerformanceLeave a Reply
If your program uses dynamic memory, its speed will depend on allocation time but also on memory access time. Here we investigate how memory access time depends on the memory layout of your data structure. We also investigate ways to speed up your program by laying out your data structure optimally.
The price of dynamic memory: Allocation
Posted on Author Ivica BogosavljevićPosted in C++ Performance, Performance, Standard Library and Performance4 Replies
We talk about how to speed up your program if your program is taking time to allocate or release memory.