Главная
Study mode:
on
1
Introduction
2
Agenda
3
Formalization
4
Comparisons
5
Average Time
6
Pipeline
7
Hazards
8
Loop Condition
9
Cache Efficiency
10
Cache Lines
11
Memory Optimization
12
Ancestor Number System
13
Binary Tree
14
Example
15
Performance
16
Risk
17
Node Size
18
Vector procedure
19
Bitrees
20
Two fundamental problems
21
Btrees
22
Performance improvements
23
Adaptive tree growth
24
Layer modifications
25
Other data types
26
B3 inspired approach
27
Results
28
Question
Description:
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only! Grab it Explore advanced optimization techniques for binary search algorithms in this CppCon 2022 conference talk by Sergey Slotin. Delve into branchless programming, memory layout optimization, and SIMD instructions to achieve up to 15x performance improvements over std::lower_bound. Learn how to apply these techniques to fundamental algorithms, making them significantly faster and more efficient. Discover the potential for multifold improvements in textbook algorithms and gain insights into performance engineering that can be applied to various software projects. Follow along as Slotin demonstrates the development of an optimized binary search algorithm, covering topics such as pipeline hazards, cache efficiency, memory optimization, and adaptive tree growth.

Optimizing Binary Search - Advanced Techniques and Performance Improvements

CppCon
Add to list
0:00 / 0:00