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

YouTube

Recipes for Reducing Allocations by C++ Containers - C++ on Sea 2022

cpponsea via YouTube

Overview

Explore strategies for minimizing allocations in C++ containers through this conference talk from C++ on Sea 2022. Discover practical recipes to enhance runtime performance, starting with basic techniques like std::vector::reserve and progressing to more advanced concepts. Learn about optimal container choices, effective constructor usage, scope promotion, view types, and hands-on examples with pmr allocators. Evaluate the pros and cons of each approach through benchmarks and allocation behavior analysis techniques. Gain insights from Lukas Böger, a civil engineer turned software developer at Oxbotica, as he shares his expertise in optimizing C++ code for autonomous vehicle applications.

Syllabus

Recipes for Reducing Allocations by C++ Containers - Lukas Böger - C++ on Sea 2022

Taught by

cpponsea

Reviews

Start your review of Recipes for Reducing Allocations by C++ Containers - C++ on Sea 2022

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.