Performance
Memory
-
alignment
- efficient memory load
-
locality
- time
- space
- data dependency
- vectorize
-
cache line
- 多线程共享数据,避免cache line 重叠, false sharing
-
stack prefaulting
-
jemalloc
Branch
- [[likely]]
- constexpr if
- compile time polymorphism
- visit variant
Concurrency
- wait free
- lock free
- memory model
- store buffer
- load buffer
- context switch
- thread
- fiber
- coroutine
CPU instruction
- floating point denormals