C++ Weekly - Ep 430 - How Short String Optimizations Work
17,944 views
About this video
Hand-picked by a BrighterTube curator · found via Reddit r/learnprogramming thread: What are the YouTube channels you watch as a software developer? · 80% confidenceOpens up std::string implementations to show how the short-string optimisation stores small strings inside the object itself, and inspects the size and layout trade-offs in Compiler Explorer.
How the small/short string optimization works inside std::string implementations.
Video by C++ Weekly With Jason Turner, played through YouTube's embedded player.
Part of C++ Weekly