Performance Analysis and Optimization of C++ Standard Libraries
Master Production-Ready Machine Learning, Step by Step
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Syllabus
Intro
Performance improvements
Missing inlining opportunities in basic_string (libc++)
Missing function attributes (libc++)
Issues with number parsing in locale
sort (Average case)
vector vs. deque (push_back)
vector vs. deque (access)
vector vs. deque (push_back + access)
Associative vs Hashed Associative (Finding random integers)
compiler vs. programmer vs. hand- optimized
Lessons learned (Algorithms)
Lessons learned (containers) optimizing destructor of string
Lessons learned (Language/Library)
Size (in bytes) of empty containers 64 bit
Optimize for latency
Taught by
CppNow