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

Avoid using direct binary.Write when encoding a document #29

Merged
merged 1 commit into from Oct 31, 2020

Conversation

qmuntal
Copy link
Owner

@qmuntal qmuntal commented Oct 31, 2020

The binary.Write call accounts for almost all the memory consumed during encoding.

@qmuntal qmuntal merged commit 8cd922e into master Oct 31, 2020
@qmuntal qmuntal deleted the reduce-alloc branch October 31, 2020 14:20
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.

None yet

1 participant