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

yew/scheduler: batch component update scheduling #1470

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

bakape
Copy link
Contributor

@bakape bakape commented Aug 6, 2020

Description

Micro optimization that removes the need to obtain refcell locks, clone Rcs and match update enums when scheduling a vector of component updates.

Checklist:

  • I have run ./ci/run_stable_checks.sh
  • I have reviewed my own code
  • I have added tests

[x] I have opened a PR against https://github.com/yewstack/js-framework-benchmark: https://github.com/yewstack/js-framework-benchmark/pull/11/checks?check_run_id=955329393

@jstarry
Copy link
Member

jstarry commented Aug 10, 2020

Looks great, thanks!

@jstarry jstarry merged commit b8996ae into yewstack:master Aug 10, 2020
teymour-aldridge pushed a commit to teymour-aldridge/yew that referenced this pull request Sep 1, 2020
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.

2 participants