Companion
object Companion
Properties
Link copied to clipboard
Keys will be shared between elements. Identical keys will only be serialized once, thus possibly saving space. But serialization performance might be slower and consumes more memory.
Link copied to clipboard
Strings and keys will be shared between elements.
Link copied to clipboard
No keys or strings will be shared
Link copied to clipboard
Strings will be shared between elements. Identical strings will only be serialized once, thus possibly saving space. But serialization performance might be slower and consumes more memory. This is ideal if you expect many repeated strings on the message.