2 ms·
If you expect to routinely send small numbers your serialization protocol can use floats or some small fix point format. Variable length binary number encoding
by gpderetta 2y ago
If you expect to routinely send small numbers your serialization protocol can use floats or some small fix point format.
Variable length binary number encodings are also an option.
The dynamic array overhead in a language is immaterial when discussion serialization formats.