branchbefore/main/FA_to_PooledListcancel
6 Commits over 0 Days - ∞cph!
Fixed some foreach usage with PooledList
Added unit tests to PooledList, they all pass.
Merged from main yet again.
Removed IEnumerable from PooledList, because it was encourraging bad usage ( gc'ing foreach usage ).
Also added GetActiveRange() to PooledList, that returns the range from 0 to Count in the internal list, for usage with AddRange externally.
Removed unused functions from PooledList. It was doing too much weird shit that wasn't being used anyway. Let's keep this class more focused now.
Refactored Fixed Array and renamed it to PooledList.
Replaced usage of Fixed Array creation with the new more convenient PooledListUtil creation methods.
In some places we now use List instead of FixedArray/PooledList.
Working on rewriting FixedArray into PooledList.