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
Because the crc of flags like DataFlag, DataStatus and DataStructure is definite,We could pre-computed to reduce the overhead of computing the crc like LevelDB.
The text was updated successfully, but these errors were encountered:
I went through the code. I see the below is the encoding format for the entry.
Between Ds and flag bytes, there are some other bytes TTL and status. Therefore, I believe We cannot use pre-Computed CRCs for Ds and flags with the current encoding format. (btw, I'm not an expert in CRCs. )
Whether we can do it in a reasonable order when constructing the CRC does not seem to have an impact? The underlying storage is stored as it is, and in the order we need when constructing the CRC.
Because the crc of flags like
DataFlag, DataStatus and DataStructure
is definite,We could pre-computed to reduce the overhead of computing the crc like LevelDB.The text was updated successfully, but these errors were encountered: