Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Increase number of initial MBlocks #474

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

acondolu
Copy link
Contributor

@acondolu acondolu commented Mar 3, 2020

Right now the Wasm memory is resized twice during the initialisation of the RTS. The initial capacity is set as the number of static MBlocks, but right after creation three new MBlocks are allocated: one for unpinned closures, one for pinned closures, and one for the nursery.

This PR may improve init time by avoiding this double resizing, as it allocates right away three more MBlocks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant