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

Intern strings for Pid components #30

Open
andrewjstone opened this issue Sep 17, 2017 · 0 comments
Open

Intern strings for Pid components #30

andrewjstone opened this issue Sep 17, 2017 · 0 comments

Comments

@andrewjstone
Copy link
Owner

andrewjstone commented Sep 17, 2017

We must be able to serialize and deserialize interned strings to allow distribution. This may result in the need to implement Serializeand Deserialize manually for Pid if the interner doesn't implement those traits. We will just send the strings themselves over the wire, but preferably packed into a single allocated Vec to minimize size and allocations. This may be reason enough to implement Serialize and Deserialize manually rather than using the implementations of a given interner. If we wanted to get even more fancy, we could pack an entire Envelope into a single Vec as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant