We investigate what is the best way to store polymorphic objects in a container for fast access
All posts in August 2020
RR: The magic of record and replay debugging
Posted on Author Ivica BogosavljevićPosted in DebuggingLeave a Reply
Learn about RR, a tool that will change the way you debug. RR will allow you to record bugs once and replay them anywhere. It will also allow you to reverse-execute your program, a feature that will simplify your debugging and your life.
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.