adriacabeza commented on issue #110:
URL: https://github.com/apache/fory/issues/110#issuecomment-3189133636

   Hey I'd be down to try this one out as it's been open for a while already. 
The only thing I am not sure about is how we would make it backwards compatible 
with the uncompressed (legacy) ones. 
   
   How about adding a 2 byte mark or something that tells us that its newly 
compressed. So readers can do:
   - Peek for those 2 bytes.
   - If present → compressed branch.
   - Else → rewind the 2 bytes and do the legacy branch (`[varuint size][raw 
bytes…]`)
   


-- 
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