Get 20% off all career paths from fullstack to AI
Master Production-Ready Machine Learning, Step by Step
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
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