microsoft / microsoft/mimalloc

Possibility to create a heap with a fixed reserved size

Open
#364 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
13.4k
Forks
1.2k
Avg merge
4d 45m
Merged PRs (30d)
13

Description

It would be nice if it is possible to create a distinct heap via mi_heap_new with a reserved fixed size.
As far as I know this is not possible now?
This issue seems to related to this feature #295

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing mi_heap_new API and the discussion referenced in issue #295 to understand how heaps are currently created. Define what a fixed reserved size should mean for a distinct heap, then verify that the resulting API supports creating such a heap without ambiguity.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.