You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: