-
Notifications
You must be signed in to change notification settings - Fork 3
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
Encode
methods should accept []byte
#21
Labels
code/perf
Performance improvements
Comments
AlekSi
added
code/chore
Code maintenance improvements
not ready
Issues that are not ready to be worked on; PRs that should skip CI
labels
Nov 27, 2023
9 tasks
9 tasks
9 tasks
9 tasks
9 tasks
9 tasks
AlekSi
removed
code/chore
Code maintenance improvements
not ready
Issues that are not ready to be worked on; PRs that should skip CI
labels
Aug 15, 2024
AlekSi
changed the title
Support lazy BSON decoding
Aug 15, 2024
Encode
methods should accept []byte
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Document.Encode
andArray.Encode
should accept a byte slice, not return it. Since the caller always knows the needed slice length (by callingsize
), this could allow for optimizing allocations by using memory pools, etc.Run benchmarks before and after, and show
benchstat
output.The text was updated successfully, but these errors were encountered: