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

Speed-up waker by using uninitialized array #4055

Merged
merged 16 commits into from
Aug 25, 2021

Commits on Aug 23, 2021

  1. Use uninitialized array in wake0 to prevent initialiation of each Opt…

    …ion<Waker>
    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    7fd2ae7 View commit details
    Browse the repository at this point in the history
  2. avoid using Option

    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    01b91ab View commit details
    Browse the repository at this point in the history
  3. rustfmt

    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    2bb9da5 View commit details
    Browse the repository at this point in the history
  4. implement WakeList to support Drop on it

    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    c0aad94 View commit details
    Browse the repository at this point in the history
  5. don't return from push

    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    b932ea5 View commit details
    Browse the repository at this point in the history
  6. Prevent later dropping of uninitialized Waker if wake panics.

    Co-authored-by: Alice Ryhl <alice@ryhl.io>
    glebpom and Darksonn committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    03103d8 View commit details
    Browse the repository at this point in the history
  7. Fix can_push condition - allow usage of the last waker.

    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    9dd73eb View commit details
    Browse the repository at this point in the history
  8. Use slice_from_raw_parts_mut/drop_in_place in WakerList Drop implemen…

    …tation
    
    Co-authored-by: Alice Ryhl <alice@ryhl.io>
    glebpom and Darksonn committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    0fb5f46 View commit details
    Browse the repository at this point in the history
  9. remove unused import

    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    c7e65e6 View commit details
    Browse the repository at this point in the history
  10. fmt

    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    5040110 View commit details
    Browse the repository at this point in the history
  11. try to fix imports

    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    7068c3e View commit details
    Browse the repository at this point in the history
  12. clippy

    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    958d43b View commit details
    Browse the repository at this point in the history
  13. import core::ptr

    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    7a55899 View commit details
    Browse the repository at this point in the history
  14. use for loop with rev iterator in wake_all

    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    905dc93 View commit details
    Browse the repository at this point in the history
  15. Revert "use for loop with rev iterator in wake_all"

    This reverts commit 905dc93.
    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    cbdcfd3 View commit details
    Browse the repository at this point in the history
  16. rustfmt

    Gleb Pomykalov committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    0267a17 View commit details
    Browse the repository at this point in the history