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