1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 14:22:37 +03:00
wezterm/varbincode
Wez Furlong 2077e3fd21 use varbincode for mux protocol; results in ~3x smaller packets
Reduces the size of the full screen serialized size from 40k -> 13k.

Note that the `zlo` crate (which doesn't appear to have a repo
on github any longer; sources are only found in the crates.io
documentation source view), employes zigzag encoding of all integers
and floating point values and takes the size down to just under 10k.

A todo is to follow up on that and see if we could adopt the same
scheme in varbincode.
2019-03-22 20:41:50 -07:00
..
src use varbincode for mux protocol; results in ~3x smaller packets 2019-03-22 20:41:50 -07:00
Cargo.toml add varbincode 2019-03-22 20:41:50 -07:00
README.md add varbincode 2019-03-22 20:41:50 -07:00

varbincode

varbincode is a binary serialization format that uses variable length encoding for integer values, which typically results in reduced size of the encoded data.

It is losely based on bincode which is offered under an MIT license (same as the wezterm crate from which varbincode originates) and is Copyright 2014 Ty Overby.