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

YouTube

Designing a Slimmer Vector of C++ Variants

CppNow via YouTube

Overview

Explore an in-depth conference talk from C++Now 2024 where senior Bloomberg LP engineer Christopher Fretz presents innovative solutions for optimizing memory usage in heterogeneous containers. Learn how to address the memory inefficiencies of std::vector when dealing with mixed types of different sizes, particularly when larger types are infrequently used. Discover the design principles behind a bit-packed alternative data structure that maintains the familiar API while significantly reducing memory overhead. Gain insights into advanced C++ container design, memory optimization techniques, and practical solutions for handling variants in performance-critical applications. The presentation includes detailed explanations, implementation strategies, and real-world applications that demonstrate how to achieve substantial memory improvements in heterogeneous container implementations.

Syllabus

Designing a Slimmer Vector of C++ Variants - Christopher Fretz - C++Now 2024

Taught by

CppNow

Reviews

Start your review of Designing a Slimmer Vector of C++ Variants

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.