What is String Interning?

preview_player
Показать описание
“String interning” (sometimes called “string pooling”) is an optimization that consists of storing only one copy of a string, no matter how many times the program references it. While it’s undoubtedly of great benefit to our programs, we’ll see that it also comes a few pitfalls.

Рекомендации по теме
Комментарии
Автор

Where have you been this long man? You are a saviour. Thanks a lot

TangoMikePapa
Автор

Brilliant! I not only learned a great deal about string interning, of which I knew nothing, I learned a little something more about C++ with every sentence. A sincere and humble thank you!

RoySATX