Skip to content

FlexBuffers in flatcc #198

Answered by mikkelfj
randyK-HH asked this question in Q&A
Jul 21, 2021 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

No, there is no flexbuffer support. You can get dynamic typing using a custom flatbuffer scheme with unions but not super space efficient, and not what you are looking for here.

If you have large byte vectors, the table overhead will not matter much relative to the vector size. Expect roughly around 12 bytes of per table overhead for pointer to vtable, actual vtable content, offset to byte vector, and padding. I doubt FlexBuffers will be much smaller since it needs to specify a name and a type for each field, and probably some offsets as well.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@randyK-HH
Comment options

@mikkelfj
Comment options

@mikkelfj
Comment options

@randyK-HH
Comment options

Answer selected by randyK-HH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants