filmov
tv
C++ cache locality and branch predictability

Показать описание
Cache me outside, how bout that?
People always talk about Big O time for analyzing speed, but Big O isn't the only important factor in writing performant code. Two important things to keep in mind are cache locality (locality of reference) and branch predictability. In this video, we go over these ideas and through examples we see the huge impact that they can have on performance.
SUPPORT ME ⭐
---------------------------------------------------
Top patrons and donors: Jameson, Laura M, Dragos C, Vahnekie, John Martin, Casey G, Pieter G, Krisztian M, Sigmanificient
BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
CHAPTERS
---------------------------------------------------
0:00 Sorting
1:26 Cache locality
2:41 Vector traversal
4:39 Matrix multiplication
7:04 Branch predictability
9:56 Branchless optimization
People always talk about Big O time for analyzing speed, but Big O isn't the only important factor in writing performant code. Two important things to keep in mind are cache locality (locality of reference) and branch predictability. In this video, we go over these ideas and through examples we see the huge impact that they can have on performance.
SUPPORT ME ⭐
---------------------------------------------------
Top patrons and donors: Jameson, Laura M, Dragos C, Vahnekie, John Martin, Casey G, Pieter G, Krisztian M, Sigmanificient
BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
CHAPTERS
---------------------------------------------------
0:00 Sorting
1:26 Cache locality
2:41 Vector traversal
4:39 Matrix multiplication
7:04 Branch predictability
9:56 Branchless optimization
C++ cache locality and branch predictability
Memory, Cache Locality, and why Arrays are Fast (Data Structures and Optimization)
c cache locality and branch predictability
CppCon 2016: Timur Doumler “Want fast C++? Know your hardware!'
C++ Algorithmic Complexity, Data Locality, Parallelism, Compiler Optimizations, & Some Concurren...
CppCon 2017: Chandler Carruth “Going Nowhere Faster”
Understanding cache-locality with an example (in Rust)
Caching in: understand, measure, and use your CPU Cache more effectively
C++ Crash Course: Cache Associativity
Data ALIGNMENT in C++
How Cache Works In Computers to Speed Up the CPU
code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You Care
Branchless Programming: Why 'If' is Sloowww... and what we can do about it!
Why Your Code Might Be Slower Than You Think
std::terminate()
The Most Important Optimizations to Apply in Your C++ Programs - Jan Bielak - CppCon 2022
Don't make eye contact
C++20’s [[likely]] Attribute - Optimizations, Pessimizations, and [[unlikely]] Consequences - CppCon...
What do you mean by 'cache friendly'? - Björn Fahller - code::dive 2019
cache associativity cache types computer organization and architecture , SUBSCRIBE
My finger hurts so much, oh my god 😭 #youtubeshorts #makeup #sfx #sfx_makeup #foryou #art #shorts
CppCon 2017: Tobias Fuchs “Multidimensional Index Sets for Data Locality in HPC Applications”
Cache friendly algorithm
5 Handling Cache Misses
Комментарии