Substrate:
Currently, the PoolAllocator works LiFo on the FreeList.
Change to FiFo would allow to not touch the last freed for a longer period of time (better for debugging) before it gets used again.
Also, its takes much longer before the first entry-index gets blocked, because usage is spread out more evenly. Still same amount of usages, but spread more equally.
Currently, allocating and freeing alternatively (during resize common) block indices quite fast.
Substrate:
Currently, the PoolAllocator works LiFo on the FreeList.
Change to FiFo would allow to not touch the last freed for a longer period of time (better for debugging) before it gets used again.
Also, its takes much longer before the first entry-index gets blocked, because usage is spread out more evenly. Still same amount of usages, but spread more equally.
Currently, allocating and freeing alternatively (during resize common) block indices quite fast.