Skip to content

Should we use copy or reference of Uuid value? #627

Answered by KodrAus
kvzn asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kvzn 👋

You can typically just pass Uuids around by-value, but sometimes it's more efficient to pass them by-reference. As a general rule though, I'd pass them by-value and then decide if by-reference is appropriate on a case-by-case basis.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kvzn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants