Closed AnnulusGames closed 8 months ago
FastListCore runs the risk of forgetting to initialize, plus an empty list can cause an infinite loop in resize. To avoid this (and to avoid unnecessary allocations), the initialization process is delayed.
Intialization on EnsureCapacity should be optimized to avoid unnecessary array allocation.
FastListCore runs the risk of forgetting to initialize, plus an empty list can cause an infinite loop in resize. To avoid this (and to avoid unnecessary allocations), the initialization process is delayed.