Skip to content

Conversation

@findepi
Copy link
Member

@findepi findepi commented Aug 29, 2024

Arc::clone is indispensable when passing shared references between threads. For synchronous code& and &Arc can be (and often are) used, with the latter being future-compatible, should the code start to need Arc::clone (e.g. due to parallelization).

`Arc::clone` is indispensable when passing shared references between
threads. For synchronous code`&` and `&Arc` can be (and often are) used,
with the latter being future-compatible, should the code start to need
`Arc::clone` (e.g. due to parallelization).
@github-actions github-actions bot added the proto Related to proto crate label Aug 29, 2024
@crepererum crepererum merged commit 0f16849 into apache:main Aug 29, 2024
@findepi findepi deleted the findepi/avoid-arc-clone-when-serializing-physical-expressions-a42030 branch August 29, 2024 16:00
@findepi
Copy link
Member Author

findepi commented Aug 29, 2024

That was extracted from #12243 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

proto Related to proto crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants