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

YouTube

How to Design a Slimmer Vector of Variants in C++

CppCon via YouTube

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

Reviews

Start your review of How to Design a Slimmer Vector of Variants in C++

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.