-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Census Tag Set API and implementation #4750
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
bb30d25
initial commit
a-veitch f190601
Merge branch 'master' into tag_set
a-veitch 0f69072
Move encode/decode API into census.h
a-veitch a237796
Always compress tags
a-veitch fc999ad
new iterator interface
a-veitch a88a221
add creation status
a-veitch 04de8c1
add comments
a-veitch 0923126
Merge branch 'master' into tag_set
a-veitch 4bbdb82
comment updates
a-veitch 8e5b21f
comment updates
a-veitch 9d8dabb
address tag_set comments
a-veitch 6670add
keep status with tag set, eliminate tag_set_ntags
a-veitch 0c1cdcd
update comments
a-veitch d409e3b
update comments
a-veitch c45d088
Single encode function
a-veitch ff14b44
Don't use buf_size as input and output in encode
a-veitch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
comment updates
- Loading branch information
commit 8e5b21fd9faf0b1ba2f74e88fe7e59bc3d5ed299
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,8 @@ | |
// are to aid in efficient parsing and the ability to directly return key | ||
// strings. This is more important than saving a single byte/tag on the wire. | ||
// * The wire encoding uses only single byte values. This eliminates the need | ||
// to handle endian-ness conversions. | ||
// to handle endian-ness conversions. It also means there is a hard upper | ||
// limit of 255 for both CENSUS_MAX_TAG_KV_LEN and CENSUS_MAX_PROPAGATED_TAGS. | ||
// * Keep all tag information (keys/values/flags) in a single memory buffer, | ||
// that can be directly copied to the wire. This makes iteration by index | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't have the iteration by index anymore. Consider to remove this concern. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
// somewhat less efficient. If it becomes a problem, we could consider | ||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please explain the fact that the current implementation copies all the tags and is recommended to do bulk add/remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.