Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize size of object header #46

Open
soc opened this issue Oct 11, 2022 · 0 comments
Open

optimize size of object header #46

soc opened this issue Oct 11, 2022 · 0 comments
Labels
enhancement improving existing functionality help wanted other contributors might be interested in this runtime running code written in Core

Comments

@soc
Copy link
Collaborator

soc commented Oct 11, 2022

The header takes up 128 bits (2 pointers á 64 bits) currently, which is too much.

There are various ways to reduce this, ideally to 64 bits or fewer:

Reducing number of pointers:

  • using a garbage collector that does not require two pointers

Reducing size of individual pointers:

See https://soc.me/runtimes/header-compression.

@soc soc added this to the later milestone Oct 11, 2022
@soc soc added enhancement improving existing functionality help wanted other contributors might be interested in this runtime running code written in Core labels Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improving existing functionality help wanted other contributors might be interested in this runtime running code written in Core
Projects
None yet
Development

No branches or pull requests

1 participant