Open simbleau opened 4 months ago
Gotcha, so this is a docs issue then. The README still specifies that bitcode is used.
The main reason was that bitcode is way more performant and efficient than bincode.
However it doesn't support serializing/deserializing directly from impl Read
or impl Write
so it was a bit tedious to maintain.
You're right the readme should be updated
Another benefit was that bitcode
used bitpacking to reduce the bandwidth (a bool would only take 1 bit) vs 1 bool takes 1 byte in bincode
What's the reason for using bitcode instead of bincode, which is arguably more mature and has wider adoption in production scenarios?