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 append instead of copy to clone slices #58

Merged
merged 1 commit into from May 18, 2022
Merged

Use append instead of copy to clone slices #58

merged 1 commit into from May 18, 2022

Commits on May 18, 2022

  1. Use append instead of copy to clone slices

    The append notation is more concise and should be more efficient, since
    the target slice won't be initialized with zero values first.
    twz123 committed May 18, 2022
    Copy the full SHA
    43f4180 View commit details
    Browse the repository at this point in the history