You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, header checksum calculation calls serialization: https://github.com/qoollo/pearl/blob/master/src/record.rs#L240
We can improve the things by calculating the header checksum directly in to_raw function: in this function serialization can be called with 0 in header_checksum field, then CRC can be calculated on the serialized data, then the result can be written directly into serialized bytes vector by hand.
The text was updated successfully, but these errors were encountered:
Currently, header checksum calculation calls serialization: https://github.com/qoollo/pearl/blob/master/src/record.rs#L240
We can improve the things by calculating the header checksum directly in
to_raw
function: in this function serialization can be called with0
inheader_checksum
field, thenCRC
can be calculated on the serialized data, then the result can be written directly into serialized bytes vector by hand.The text was updated successfully, but these errors were encountered: