Finance Certifications Goldman Sachs & Amazon Teams Trust
Free courses from frontend to fullstack and AI
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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