Skip to content

Create a new allocator #31

@quackitsquinn

Description

@quackitsquinn

Writing an allocator was fun, but in reality this allocator is a bit rigid and misses a lot of features other allocators have.

The current allocator has some technical issues:

  • Rigid number of allocations, locked to 512.
  • Static size, all memory has to be a single block and does not allow for any
    dynamic resizing.
  • untested, but the current allocator is pretty slow due to every allocation requiring a O(n) search for a free block.
  • Internal implementation is kinda clunky

The new allocator should be a lot more flexible, but what it'll be based on is still up for debate and I still need to do some research on allocators.

Hopefully this will go a lot better than the original allocator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions