Class KeyRecordDictionary.SerializationOptions
- Namespace
- BelNytheraSeiche.TrieDictionary
- Assembly
- BelNytheraSeiche.TrieDictionary.dll
Provides options to control the serialization process for dictionary data structures.
public class KeyRecordDictionary.SerializationOptions
- Inheritance
-
KeyRecordDictionary.SerializationOptions
- Inherited Members
Properties
CompressionLevel
Gets or sets the compression level to use for serialization.
public CompressionLevel CompressionLevel { get; set; }
Property Value
Remarks
Higher compression levels can result in smaller file sizes but may take longer to process. Defaults to Fastest for a balance of speed and size.
Default
Gets a singleton instance of KeyRecordDictionary.SerializationOptions with default values.
public static KeyRecordDictionary.SerializationOptions Default { get; }
Property Value
Remarks
Use this property to avoid creating a new options object when default settings are sufficient.
IncludeLoudsParentPointers
[LOUDS-specific] Gets or sets a value indicating whether to include the parent pointer array in the serialization output.
Defaults to false
.
public bool IncludeLoudsParentPointers { get; set; }
Property Value
Remarks
Setting this to false
will reduce the final file size, but it may significantly increase
the time required for deserialization as the parent structure needs to be rebuilt.