Skip to content

Global string dedup cache #123

Description

@Bnaya

Strings have reference counting, and we save duplicate strings once for every save operation.
It's easy for us, because we create cache at the beginning of the save operation.

But can we do that across different save operations?
If we keep that cache aways alive, it might get stale, leak memory, and won't be useful for other threads.

So the "ultimate" and complex solution would be global string registry inside the objectbuffer memory
(To hold all strings in additional data struct that we can locate them easily)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions