ArrayPoolManager
A static class in Alta.ArrayPools.Runtime, Alta.ArrayPools.
Keeps track of every power-of-two array pool in the game so they can be logged.
- Listed in Other Alta assemblies
Fields
| Member | What it is |
|---|---|
static List<IUnclearedPower2ArrayPool> AllPools | Every array pool made; each pool adds itself when created. |
const int MinimumPower | Smallest bucket size as a power of two (4, so 16 items). |
const int NumberOfBuckets | How many size buckets each pool has (27). |
Methods
| Member | What it is |
|---|---|
static void LogAllPools(bool isPrintingEachArraysLength = false) | Logs how many arrays each pool holds per size, and optionally each array's length. |