Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

perf: avoid unnecessary buffer copy #40

Merged
merged 1 commit into from
Nov 27, 2019

Conversation

achingbrain
Copy link
Collaborator

The pending array is emptied every iteration so just pass the file chunk directly into the rabin chunker instead.

The `pending` array is emptied every iteration so just pass the
file chunk directly into the rabin chunker instead.
@achingbrain
Copy link
Collaborator Author

Fixes #35

@achingbrain achingbrain merged commit b5e5b5a into master Nov 27, 2019
@achingbrain achingbrain deleted the avoid-unnecessary-buffer-copy branch November 27, 2019 09:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants