Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
A new data-structure in shreds for partial deserialization #5915
The shreds are serialized before sending over wire. To make sense of received data, the whole shreds needs to be deserialized. This is adding overhead.
Summary of Changes
Added a new data structure that can perform partial deserialization of shreds, and construct shred headers. This will reduce the overhead of serialization/deserializations.
@@ Coverage Diff @@ ## master #5915 +/- ## ======================================== - Coverage 75.5% 75.5% -0.1% ======================================== Files 236 236 Lines 42501 42558 +57 ======================================== + Hits 32114 32147 +33 - Misses 10387 10411 +24