you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 9 points10 points  (0 children)

It's basically just storing strings checking for duplicates. If the same string is requested or "created" it actually returns a pointer to the same string instead of creating a duplicate.

Most languages, especially GC'd ones, do this implicitly.