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

Wrap AnyView.cached_style in an Rc to make the struct much smaller #22640

Closed
wants to merge 1 commit into from

Conversation

mgsloan
Copy link
Contributor

@mgsloan mgsloan commented Jan 4, 2025

Byte size before was 672, now is 56

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 4, 2025
@mgsloan mgsloan changed the title Wrap AnyView.cached_style in an Rc to make clone efficient Wrap AnyView.cached_style in an Rc to make clone more efficient Jan 4, 2025
@mgsloan mgsloan force-pushed the wrap-cached-style-in-rc branch from faa2d4f to fc650f8 Compare January 4, 2025 01:10
@mgsloan mgsloan changed the title Wrap AnyView.cached_style in an Rc to make clone more efficient Wrap AnyView.cached_style in an Rc to make the struct much smaller Jan 4, 2025
@mgsloan mgsloan enabled auto-merge January 4, 2025 01:11
@mgsloan
Copy link
Contributor Author

mgsloan commented Jan 4, 2025

Planning to revisit this after #22632 is merged

@mgsloan mgsloan closed this Jan 4, 2025
auto-merge was automatically disabled January 4, 2025 07:51

Pull request was closed

@mgsloan
Copy link
Contributor Author

mgsloan commented Feb 6, 2025

Merged this in #24363

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant