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

YouTube

C++ Performance Tips - Cutting Down on Unnecessary Objects

CppCon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to optimize C++ code performance by eliminating unnecessary temporary object creation in this 53-minute conference talk from CppCon 2025. Discover common scenarios that lead to costly temporary object creation and how to detect these performance bottlenecks through practical code examples. Explore proven strategies to reduce object creation overhead, including explicit object moving, passing objects by reference, leveraging lightweight classes like std::string_view and std::span, and utilizing functions such as reserve and emplace. Master techniques to minimize runtime operations, reduce code execution time, and lower memory usage while adopting better C++ programming practices for enhanced application performance.

Syllabus

C++ Performance Tips: Cutting Down on Unnecessary Objects - Prithvi Okade & Kathleen Baker - CppCon

Taught by

CppCon

Reviews

Start your review of C++ Performance Tips - Cutting Down on Unnecessary Objects

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.