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

Optimize Ord trait implementation for bool #66881

Merged

Commits on Nov 29, 2019

  1. Optimize Ord trait implementation for bool

    Casting the booleans to `i8`s and converting their difference
    into `Ordering` generates better assembly than casting them to
    `u8`s and comparing them.
    Krishna Sai Veera Reddy committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    4ca769a View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2019

  1. Document usage of unsafe block

    Krishna Sai Veera Reddy committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    a30ee8e View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2019

  1. Add better documentation for unsafe block

    Krishna Sai Veera Reddy committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    1f07aa5 View commit details
    Browse the repository at this point in the history