Skip to content

RealAllocator::allocate() is inefficient because it scans each bit of the heap. #4

@aarontabor

Description

@aarontabor

To find a free contiguous chunk of heap, the RealAllocator currently traverses the heap. This is less than optimal for several reasons:

  • we know that objects have a minimum size
  • we know something about alignment

By scanning the heap bit by bit, we are performing an unnecessary amount of work.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions