FastBinaryEncoding icon indicating copy to clipboard operation
FastBinaryEncoding copied to clipboard

Documentation ambiguity

Open bitbugprime opened this issue 3 years ago • 0 comments

In the description of the wire format, it is unclear if the "size" parameter for arrays, lists, etc is the number of bytes the data structure takes on the wire, or a count of the number of elements in the data structure. Which is the correct interpretation? Please update the documentation to clear up this ambiguity. If it is the former, an option for a 64-bit size would be helpful.

Another thing you might want to document is how arrays and lists are accessed. If I want to access element M of N, do I have to waste time traversing M elements to get to it, which makes FBE essentially impossible to use with more than a tiny M because it is far too slow, or is it addressed directly?

bitbugprime avatar Feb 08 '21 09:02 bitbugprime