rdaum/moor

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

Closed this issue · 0 comments

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>>,