Skip to content

PoolAllocator change to FiFo #108

Description

@PowerOfNames

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.

Metadata

Metadata

Assignees

Labels

SubstrateShared lib related workfeature/enhancementfeature addition/enhancement/change

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions