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
We can serialize in a more compact format if we support interning of strings so that subsequent copies of a string which are not represented by the same address in .NET (i.e, .NET hasn't already interned them) are serialized only once.
This may not be worthwhile - it likely depends on the workload.
The text was updated successfully, but these errors were encountered:
ReubenBond
changed the title
Optionally intern strings and other immutable reference types
Optionally intern copies of strings and other immutable reference types
Aug 28, 2020
Note that Hagar already will avoid duplicating strings/etc which were interned to begin with, since it uses reference equality to de-dupe objects and support cyclic graphs.
We can serialize in a more compact format if we support interning of strings so that subsequent copies of a string which are not represented by the same address in .NET (i.e, .NET hasn't already interned them) are serialized only once.
This may not be worthwhile - it likely depends on the workload.
The text was updated successfully, but these errors were encountered: