Fastware - Andrei Alexandrescu
Описание
#cpp
1:10 Intro
2:32 Down to Earth
3:39 New Research
5:52 Strength Reduction
12:58 Strength Reduction: Example
24:50 Minimize indirect writes: Why?
33:30 Improvements
39:57 Study: String to Integral
41:28 How does it work?
43:22 Divide & Conquer?
43:41 Key: Multiply, then add
44:30 Reducing dependencies
47:29 Strength reduction, again
48:39 Tip: Use bitwise ops
49:42 Tip: Use isdigit()
50:36 Pro Tip: Use unsigned wraparoo
54:33 Think Outside the loop
55:08 Checkpoint
57:15 Q&A
To some extent, optimization is to our industry what sexual intercourse is to teenagers. There's a veil of awesomeness surrounding it; everybody thinks it's cool, has an opinion about it, and talks about it a great deal; yet in spite of ample folklore, few get to do it meaningfully or at all.
Improving the ordeals of teenage years being too daunting a project, the next best thing to do is teaching how to write fast code. So Andrei setout to write a book about it.
This talk is a sneak preview into some of the book's material.
NDC Conference, London 16-20 January 2017
https://www.youtube.com/watch?v=o4-CwDo2zpg
Рекомендуемые видео




















