Class MARSMemoryOptions
Memory management options for the MARS database.
Namespace: Unity.MARS.Settings
Syntax
public class MARSMemoryOptions : ScriptableSettings<MARSMemoryOptions>
Fields
DataDirtyStatesCapacity
The starting capacity of the Dictionary instances that track data dirty states
Declaration
public int DataDirtyStatesCapacity
Field Value
Type | Description |
---|---|
Int32 |
DataDirtyStatesPreAllocationCount
How many 'dirty state tracking' collection to allocate when the database loads
Declaration
public int DataDirtyStatesPreAllocationCount
Field Value
Type | Description |
---|---|
Int32 |
DataUseTrackingCapacity
The starting capacity of all collections in the database used to track data ownership
Declaration
public int DataUseTrackingCapacity
Field Value
Type | Description |
---|---|
Int32 |
MatchIdHashSetCapacity
The starting capacity of the HashSet instances used for match set intersection
Declaration
public int MatchIdHashSetCapacity
Field Value
Type | Description |
---|---|
Int32 |
MatchIdHashSetPreAllocationCount
How many match set instances to pre-allocate when the database loads
Declaration
public int MatchIdHashSetPreAllocationCount
Field Value
Type | Description |
---|---|
Int32 |
QueryDataCapacity
The starting capacity of all collections used to store per-query match data
Declaration
public int QueryDataCapacity
Field Value
Type | Description |
---|---|
Int32 |
RatingDictionaryCapacity
The starting capacity of the Dictionary instances used for match ratings
Declaration
public int RatingDictionaryCapacity
Field Value
Type | Description |
---|---|
Int32 |
ResultDictionaryCapacity
The starting capacity of the Dictionary instances used in QueryResult
Declaration
public int ResultDictionaryCapacity
Field Value
Type | Description |
---|---|
Int32 |
SetMemberCapacityMultiplier
The number of slots in the Set member data to pre-allocate for every slot in the Set data
Declaration
public int SetMemberCapacityMultiplier
Field Value
Type | Description |
---|---|
Int32 |
TraitDictionaryListCapacity
The starting capacity of the Lists of trait value collections used at the start of the pipeline
Declaration
public int TraitDictionaryListCapacity
Field Value
Type | Description |
---|---|
Int32 |