transport(ptp): move from protobuf to fixed-size c-struct#388
Open
csegarragonz wants to merge 1 commit intomainfrom
Open
transport(ptp): move from protobuf to fixed-size c-struct#388csegarragonz wants to merge 1 commit intomainfrom
csegarragonz wants to merge 1 commit intomainfrom
Conversation
57d56fc to
43312ea
Compare
8d10fa2 to
e0099ec
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #388 +/- ##
==========================================
+ Coverage 81.40% 81.59% +0.18%
==========================================
Files 107 108 +1
Lines 7223 7281 +58
==========================================
+ Hits 5880 5941 +61
+ Misses 1343 1340 -3 ☔ View full report in Codecov by Sentry. |
This commit moves the abstraction of a PTP message from a protobuf object to a fixed-size C-struct with a heap pointer. The rationale is that these PTP messages move through the system, and even when careful it is challenging to keep track of the copies allocations that protobuf is doing under the hood. In exchange, we are very explicity about the copies and allocations we do.
e0099ec to
8eb27e0
Compare
csegarragonz
added a commit
that referenced
this pull request
Mar 13, 2024
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.
No description provided.