Skip to content

Conversation

@fancycode
Copy link
Contributor

As described in #810, this PR removes the unnecessary copying from bytes.Buffer to get the []byte data where possible.

Fixes #810

hhrutter added a commit that referenced this pull request Feb 29, 2024
@hhrutter hhrutter merged commit 95c2d64 into pdfcpu:master Feb 29, 2024
@hhrutter
Copy link
Collaborator

hhrutter commented Mar 1, 2024

Thanks again! Good catch 👍🏻

@fancycode fancycode deleted the dont-copy-bytes-buffer branch March 18, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid unnecessary copying with filters.

2 participants