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

Remove some unnecessary RefCells in AVM1 objects #19734

Merged
merged 2 commits into from
Mar 7, 2025

Conversation

moulins
Copy link
Contributor

@moulins moulins commented Mar 7, 2025

No description provided.

@moulins moulins added A-avm1 Area: AVM1 (ActionScript 1 & 2) T-refactor Type: Refactor / Cleanup labels Mar 7, 2025
@moulins moulins force-pushed the avm1-cells-optimize branch from 862c098 to 8886bbb Compare March 7, 2025 14:21
moulins added 2 commits March 7, 2025 18:50
We don't need full mutable borrows here, and this avoids some runtime
checks.
This avoids extra `RefCell`s and back-and-forth conversions to `String`.
@moulins moulins force-pushed the avm1-cells-optimize branch from 8886bbb to c4b05ee Compare March 7, 2025 17:50
@moulins moulins merged commit 3b89507 into ruffle-rs:master Mar 7, 2025
21 of 22 checks passed
@moulins moulins deleted the avm1-cells-optimize branch March 7, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-avm1 Area: AVM1 (ActionScript 1 & 2) T-refactor Type: Refactor / Cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants