s***@gmail.com
2018-05-04 18:08:59 UTC
Hello!
I'm interested in using Cap'n Proto for serializing a large-ish quad tree
data structure that is used for querying geospatial data. I have a few
questions that I was hoping you could help me out with:
- Have you come across any message size limitations or performance
issues with larger data in Cap'n Proto? I'd love to be able to represent
indices on the order of 100 MB+.
- In a post made on 8/1/14 ("Recursive Schemas"), you mentioned that
there can only be a single pointer to other structs -- is this still the
case? I would love to be able to have a pointer to parent nodes so that I
can traverse up through the quad tree.
- How are structs laid out in memory (via arena allocation) when working
with nested structs? Is it based on the order of "init" statements? I'd
like to maintain a breadth-first layout of nested structs in my serialized
output to maintain locality of nodes at a specific depth -- do I just need
to initialize the structs in the order at which I want them laid out in the
serialized representation?
Are there any other considerations I should take into account?
Thank you!!
I'm interested in using Cap'n Proto for serializing a large-ish quad tree
data structure that is used for querying geospatial data. I have a few
questions that I was hoping you could help me out with:
- Have you come across any message size limitations or performance
issues with larger data in Cap'n Proto? I'd love to be able to represent
indices on the order of 100 MB+.
- In a post made on 8/1/14 ("Recursive Schemas"), you mentioned that
there can only be a single pointer to other structs -- is this still the
case? I would love to be able to have a pointer to parent nodes so that I
can traverse up through the quad tree.
- How are structs laid out in memory (via arena allocation) when working
with nested structs? Is it based on the order of "init" statements? I'd
like to maintain a breadth-first layout of nested structs in my serialized
output to maintain locality of nodes at a specific depth -- do I just need
to initialize the structs in the order at which I want them laid out in the
serialized representation?
Are there any other considerations I should take into account?
Thank you!!
--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.