bincode/src
Ben Kimock 5c541a297a Optimize varint parsing (#337)
* Add benchmarks for varint parsing

* Enable more inlining

* Outline error construction

* Add provided functions to BincodeRead to customize reading of literals

* Add #[inline] to deserialize_byte

* Outline SliceReader::unexpected_eof so that deserialize_varint inlines

* Implement BincodeRead for std::io::BufReader

* Reimplement all of BincodeRead in terms of BufRead-like functions

* Move branch into error-creation function to get below inline threshold
2021-06-19 18:16:13 -07:00
..
config Optimize varint parsing (#337) 2021-06-19 18:16:13 -07:00
de Optimize varint parsing (#337) 2021-06-19 18:16:13 -07:00
ser prep branch for 2.0 work (#379) 2021-04-08 14:54:31 +02:00
error.rs prep branch for 2.0 work (#379) 2021-04-08 14:54:31 +02:00
internal.rs prep branch for 2.0 work (#379) 2021-04-08 14:54:31 +02:00
lib.rs prep branch for 2.0 work (#379) 2021-04-08 14:54:31 +02:00