Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.