Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

C++ Performance and Optimisation

NDC Conferences via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk examines C++ performance across CPU and cache behavior, data layout, algorithms and data structures, memory allocation, and move semantics. It connects measurement and optimization choices to domain knowledge and data access patterns.

Syllabus

Intro
The performance story
Overview
Modern CPUs
Instructions are "free", memory b/w isn't
Cache hierarchy
Measurement - Big O notation
Data layout and performance
Vectorisation (2)
Move semantics and rvalue references
Move semantics example
Implementing move semantics
Memory allocations and STL
Optimisation - hash function
Binary search on a sorted collection
Domain knowledge
questions about data access
Non-primary key access
Range scans and sequential access
Read/write ratio
Working set size • How much of the common dan will fit in main
Consistency
Summary

Taught by

NDC Conferences

Reviews

Start your review of C++ Performance and Optimisation

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.