Skip to content

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