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

Use subslice patterns in slice methods #69706

Merged
merged 1 commit into from
Mar 7, 2020

Commits on Mar 4, 2020

  1. Use subslice patterns in slice methods

    For all of the methods that pick off the first or last element, we can
    use subslice patterns to implement them directly, rather than relying on
    deeper indexing function calls. At a minimum, this means the generated
    code will rely less on inlining for performance, but in some cases it
    also optimizes better.
    cuviper committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    53be0cc View commit details
    Browse the repository at this point in the history