Description

AsSymbols defines what should be encoded as symbols.

Encoding as symbols can reduce the encoded size significantly.

However, during decoding, each string to be encoded as a symbol must be checked to see if it has been seen before. Consequently, encoding time will increase if using symbols, because string comparisons has a clear cost.

Sample values:

AsSymbolNone
AsSymbolAll
AsSymbolMapStringKeys
AsSymbolMapStringKeysFlag | AsSymbolStructFieldNameFlag

AsSymbols is referenced in 0 repositories