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

[Based on #25] Have encode() take its writer by value #26

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

HadrienG2
Copy link

This implement the change discussed in #20 because it's very easy to do, and a net API generalization with no known harmful side-effect. But depending on how the discussion in #23 goes, this PR may be scrapped entirely in favor of a more ambitious API redesign that resolves the pointer alignment problem once and for all.

For convenience reasons, this PR is based on #22, #24 and #25. Reviewing these PRs first is recommended, but if you want to review this one in isolation, please consider doing so commit-by-commit in order to get a clean diff.

Fixes #20 .

@HadrienG2 HadrienG2 force-pushed the write-by-value branch 2 times, most recently from 7497d6e to 12bf34f Compare September 26, 2019 05:56
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.

Consider taking writers by value
1 participant