blambov commented on PR #2464:
URL: https://github.com/apache/cassandra/pull/2464#issuecomment-1644302771

   AFAIK both local and markedFor times are needed and serve different 
purposes. They should, however, be close to each other normally (i.e. local 
should be ~`markedFor/1000`). How about, as an additional space saving measure, 
storing `local - markedFor / 1000` as a signed vint instead of the four-byte 
int for local? (Note: the vint may become up to 6 bytes in odd cases, but 
that's something I'd happily trade for having 1 most of the time.)
   
   I do not insist on this, saving the bytes for the `LIVE` encoding is a 
sufficiently good improvement.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to