-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Cleanup ImplicitClone related stuff in the examples #3508
base: master
Are you sure you want to change the base?
Cleanup ImplicitClone related stuff in the examples #3508
Conversation
Benchmark - coreYew Master
Pull Request
|
Visit the preview URL for this PR (updated for commit 224e08b): https://yew-rs-api--pr3508-cleanup-implicit-clo-xpmvce0a.web.app (expires Sun, 26 Nov 2023 10:10:39 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
Benchmark - SSRYew Master
Pull Request
|
Size Comparison
|
This reverts commit 71bcd09.
@kirillsemyonkin now I think the benchmark results look good. Not a big improvement but not a lost either except maybe on the "baseline" but that's probably normal. |
impl Clone for Listeners { | ||
fn clone(&self) -> Self { | ||
match self { | ||
Self::None => Self::None, | ||
Self::Pending(v) => Self::Pending(v.clone()), | ||
} | ||
} | ||
} | ||
|
||
impl Default for Listeners { | ||
fn default() -> Self { | ||
Self::None | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why we did that manually but it was not necessary
Description
What does this PR do?
Changes did on the side:
Related to #3453
Checklist