Skip to content

Adopt Size-Based Range Allocator #249

@lightsighter

Description

@lightsighter

There is a new size-based range allocator available in Realm as part of this merge request. However, it still needs to be evaluated. There are three questions that need answering:

  1. Does the new allocator add measurable overhead to programs and if so how much?
  2. Does the new allocator improve fragmentation for real Realm programs?
  3. The new allocator provides both sorted and unsorted free lists. Sorted free lists guarantee the smallest hole always is used to satisfy an allocation, whereas the unsorted lists provide a looser bound guaranteeing only that a hole that is found is no more than 2X as large as the requested allocation. Is it better to have the sorted or unsorted versions of the size-based range allocator?

Assigning to @apryakhin to investigate. @manopapad can you triage this and place it on the priority list for Realm work as you deem appropriate?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions