Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore advanced C++ optimization techniques in this 57-minute conference talk from CppCon 2024, where Christopher Fretz delves into designing memory-efficient alternatives to std::vector. Learn how to address memory bloat issues that occur when working with heterogeneous containers containing mixed types of different sizes, particularly when larger types are infrequently used. Discover the development process of a bit-packed data structure that significantly reduces memory usage while considering the API design implications of such optimizations. Gain practical insights into real-world applications and solutions for managing variant containers more efficiently in C++ programming.
Syllabus
How to Design a Slimmer Vector of Variants in C++ - Christopher Fretz - CppCon 2024
Taught by
CppCon