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

Reimplement RData on top of RTypedData #558

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

casperisfine
Copy link

The goal is to eliminate RTypedData.typed_flag which waste 8B, allowing TypedData to fit in a potential 32B slot.

This however makes RData 48B long, but given it's a deprecated construct it seems acceptable to degrade it to improve its replacement.

Paired with @etiennebarrie on it, it's mostly a proof of concept at this stage, needs ton of cleanup and does have some bugs.

FYI: @peterzhu2118 @eightbitraptor

@casperisfine casperisfine force-pushed the rewrite-old-data branch 3 times, most recently from 556f462 to 5fabbe3 Compare June 10, 2024 08:45
The goal is to eliminate `RTypedData.typed_flag` which waste `8B`,
allowing `TypedData` to fit in a potential `32B` slot.

This however makes `RData` 48B long, but given it's a deprecated
construct it seems acceptable to degrade it to improve its replacement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants