No ticket: Clarify when the zigzag encoding is used [skip ci]#3503
Open
abellgithub wants to merge 1 commit into
Open
No ticket: Clarify when the zigzag encoding is used [skip ci]#3503abellgithub wants to merge 1 commit into
abellgithub wants to merge 1 commit into
Conversation
Jens-G
reviewed
May 20, 2026
| possible to handle unknown fields while decoding by ignoring them. The field type is used to determine how to decode field values. | ||
|
|
||
| Note that the field name is not encoded so field renames in the IDL do not affect forward and backward compatibility. | ||
| Note that the fields are identified by their integer value and not thier name. |
Author
There was a problem hiding this comment.
Seems OK to me, but you're welcome to change.
Member
Code reviewFound 1 issue:
thrift/doc/specs/thrift-compact-protocol.md Lines 88 to 121 in 26f275f 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
Author
|
I don't see any way to respond explicitly to the comment about doubles. A look at the code shows that I misinterpreted the old language. I will edit. |
Author
|
Actually, the old language talking about int64 seems pointless. The bytes of a double seem to be written directly in little-endian byte order -- any reference to i64 would strike me as confusing (and was probably why I was confused when I read the old language). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Client: all
[skip ci]anywhere in the commit message to free up build resources.