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

avm2: Put more Multinames behind a Gc #17842

Merged

Conversation

Lord-McSweeney
Copy link
Collaborator

Return types, slot types, and parameter types are all behind Gcs now. To avoid recreating the same Multiname several times while adding traits to classes, a CommonMultinames structure storing some common multinames has been added to Avm2.

Lord-McSweeney added 2 commits September 11, 2024 18:18
This should reduce Gc allocations when loading multiname index 0 from the cpool
@torokati44
Copy link
Member

Melted a cargo fmt into the second commit.

@Lord-McSweeney Lord-McSweeney merged commit b3769aa into ruffle-rs:master Sep 11, 2024
16 of 17 checks passed
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.

3 participants