Completed
Exceptions
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
C++20's Likely Attribute - Optimizations, Pessimizations, and Unlikely Consequences
Automatically move to the next video in the Classroom when playback concludes
- 1 Introduction
- 2 Why do we need it
- 3 Code Layout
- 4 Bench Predictor
- 5 CPU Predictor
- 6 Cold Branch
- 7 Indirect Branch
- 8 Likely vs unlikely
- 9 Early return
- 10 Exceptions
- 11 Likely unlikely macro
- 12 Actual Benchmark
- 13 Comparison
- 14 The Benchmark
- 15 The Result
- 16 Switching Order of Declaration
- 17 Why are they the same
- 18 Benchmark
- 19 Perf
- 20 Summary
- 21 Questions
- 22 Syntax placement
- 23 If is unlikely
- 24 Bad Hints
- 25 Predictors
- 26 Not Optimal