Skip to content

fix: correct inline repr - #768

Open
alejandro-vaz wants to merge 5 commits into
servo:v2from
alejandro-vaz:correct-iniine-repr
Open

alejandro-vaz wants to merge 5 commits into
servo:v2from
alejandro-vaz:correct-iniine-repr

Conversation

@alejandro-vaz

Copy link
Copy Markdown
Collaborator

this PR corrects the inline representation of RawSmallVec, moving the maybeuninit to inside the array for each element, instead of meaning a full array that may be initialized or not

since out implementation does pointer arithmetic manually anyway, this does not affect the code generation of our operations

@alejandro-vaz alejandro-vaz self-assigned this Oct 17, 2026
@alejandro-vaz
alejandro-vaz requested a review from jdm October 17, 2026 15:30
@alejandro-vaz
alejandro-vaz marked this pull request as ready for review October 17, 2026 15:30
@alejandro-vaz

Copy link
Copy Markdown
Collaborator Author

callgrind shows some notable improvements

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.

1 participant