-
CppCon 2017: Chandler Carruth “Going Nowhere Faster”
- Demonstrates cache locality influence
- Using
branching
instead ofcmove
x
-
CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"
- There are no power-efficient instructions only execute quickly and sleep
- C++ doesn't give you performance, it gives you control over performance.
- Discontiguous data structures are root of all poor performance.
- Say no to a linked list,
std: map
never - Time spent waiting for data ( 50% )