Skip to main content
4 events
when toggle format what by license comment
Apr 5, 2019 at 6:14 comment added rwong @user1118321 small string optimization. It is a special case of small object optimization, in which the number of dynamic memory allocations (the number of allocation operations, not the size) are reduced by attempting to pack all data into the struct itself. This trick only happens when the amount of data is tiny, but from usage statistics one could argue that a lot of data structures spend a lot of time holding just a small amount of data (most of the time the count being zero or one) which makes SSO/SOO worthwhile. The justification is empirical; it has to be measured in realistic scenario.
Apr 5, 2019 at 3:54 comment added user1118321 What does "SSO" stand for? I'm used to it meaning "Single Sign On".
Apr 4, 2019 at 9:44 comment added h23 I cannot upvote yet but really thanks for this auto iterator = &c;
Apr 4, 2019 at 8:04 history answered Deduplicator CC BY-SA 4.0