Conditionally Packed messages #3654
Unanswered
ericjbohm
asked this question in
Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are several use cases for messages that can include pointers, if sent within the process boundary they would not require additional allocations or copies. If sent outside, the full copy style message would be created and sent.
Sam notes that message forwarding can create a complication here.
The usage contract would require the user to treat the relevant data being pointed to as read only for the life of the message.
Beta Was this translation helpful? Give feedback.
All reactions