Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
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