Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Use CopyBuffer in writeTar #86

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Conversation

jonjohnsonjr
Copy link
Contributor

This will save us a few Read()s.

This will save us a few Read()s.

Signed-off-by: Jon Johnson <jon.johnson@chainguard.dev>
@jonjohnsonjr
Copy link
Contributor Author

Before:

image

After:

image

Doing ~30% less work in WriteTar.

@imjasonh imjasonh merged commit 2a13d9f into chainguard-dev:main Jul 11, 2023
3 checks passed
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