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 split_at instead of split_off #562

Merged
merged 1 commit into from Feb 17, 2020
Merged

Use split_at instead of split_off #562

merged 1 commit into from Feb 17, 2020

Conversation

@Schaeff
Copy link
Member

Schaeff commented Feb 10, 2020

split_off allocates a new vector. split_at operates on slices and doesn't, at the cost of one clone at the end.

@Schaeff Schaeff merged commit 84c144a into develop Feb 17, 2020
6 checks passed
6 checks passed
ci/circleci: build Your tests passed on CircleCI!
Details
ci/circleci: integration_test Your tests passed on CircleCI!
Details
ci/circleci: test Your tests passed on CircleCI!
Details
ci/circleci: wasm_test Your tests passed on CircleCI!
Details
ci/circleci: zokrates_js_build Your tests passed on CircleCI!
Details
ci/circleci: zokrates_js_test Your tests passed on CircleCI!
Details
@Schaeff Schaeff deleted the split-at branch Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.