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

Implement our own zero-copy list type and get rid of bincoding #273

Open
github-actions bot opened this issue Feb 10, 2024 · 0 comments
Open

Implement our own zero-copy list type and get rid of bincoding #273

github-actions bot opened this issue Feb 10, 2024 · 0 comments
Labels

Comments

@github-actions
Copy link

To support nested content, would require an offsets table at the front, etc.

Take a look at how flatbufers, capnproto, and other zero-copy serialization formats do this.

// TODO: Implement our own zero-copy list type and get rid of bincoding

#[derive(Clone, Debug, Encode, Decode, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub struct List {
    // TODO: Implement our own zero-copy list type and get rid of bincoding
    //   To support nested content, would require an offsets table at the front, etc.
    //   Take a look at how flatbufers, capnproto, and other zero-copy serialization formats do this.
    inner: Arc<Vec<Var>>,
@github-actions github-actions bot added the todo label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants