how do I enable string interning in protobuf-net?
问题 I am using v2 rev 421. When I saved the stream produced by protobuf-net and put it through the strings utility, it discovered many duplicate strings. I am talking about the strings produced by the application, which can be interned, but the string interning does not seem to be on by default. How do I enabled it? Thanks. 回答1: There are two separate types of interning here; there's interning while deserializing - this is always enabled, so if duplicates are in the data , you should only see a