Should strings declaring the objects type and attributes name be cached?

If true metadata strings are cached using cache. The first occurrence is written as an object declaration, successive occurrences are written as an object reference.

If false, the default, metadata strings are written as pure MessagePack strings, without their own metadata.

Using the cache may save some space by avoiding the repetition of names used by many types or attributes. However, it adds complexity to the generated message and may be less safe for versioning.

Property definitions

msgpack $ MsgPackSerializer :: cache_metadata_strings=
	# Should strings declaring the objects type and attributes name be cached?
	#
	# If `true` metadata strings are cached using `cache`.
	# The first occurrence is written as an object declaration,
	# successive occurrences are written as an object reference.
	#
	# If `false`, the default, metadata strings are written as pure MessagePack
	# strings, without their own metadata.
	#
	# Using the cache may save some space by avoiding the repetition of
	# names used by many types or attributes.
	# However, it adds complexity to the generated message and may be less
	# safe for versioning.
	var cache_metadata_strings = false is writable
lib/msgpack/serialization_write.nit:62,2--75,47