Clarified value reuse in FlexBuffers

Change-Id: Ib771bfa46ccdf38eff25be857b1b73f8b300c649
parent 65b67d21
...@@ -98,10 +98,10 @@ allows a single type, and uses a bit less memory. ...@@ -98,10 +98,10 @@ allows a single type, and uses a bit less memory.
`IndirectFloat` is an interesting feature that allows you to store values `IndirectFloat` is an interesting feature that allows you to store values
by offset rather than inline. Though that doesn't make any visible change by offset rather than inline. Though that doesn't make any visible change
to the user, the consequence is that large values (especially doubles or to the user, the consequence is that large values (especially doubles or
64 bit ints) that occur more than once can be shared. Another use case is 64 bit ints) that occur more than once can be shared (see ReuseValue).
inside of vectors, where the largest element makes up the size of all elements Another use case is inside of vectors, where the largest element makes
(e.g. a single double forces all elements to 64bit), so storing a lot of small up the size of all elements (e.g. a single double forces all elements to
integers together with a double is more efficient if the double is indirect. 64bit), so storing a lot of small integers together with a double is more efficient if the double is indirect.
Accessing it: Accessing it:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment