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

Don't create adjustments from a type to itself #28428

Merged
merged 1 commit into from
Sep 17, 2015

Commits on Sep 17, 2015

  1. Don't create adjustments from a type to itself

    Currently, we're generating adjustments, for example, to get from &[u8]
    to &[u8], which is unneeded and kicks us out of trans_into() into
    trans() which means an additional stack slot and copy in the unoptimized
    code.
    dotdash committed Sep 17, 2015
    Configuration menu
    Copy the full SHA
    6def06c View commit details
    Browse the repository at this point in the history