Replies: 2 comments
-
Hey--I suspect that copying ends up being pretty cheap computationally and space-wise. AFAIK a lot of the internal references are preserved (e.g. to underlying "Blocks" / arrays), until there's something that would mutate them. (I could definitely be wrong here though) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for pointing this out. I somehow agree with you. This is a low priority as this could anyway save resources. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Only copy the data when possible. For example:
Beta Was this translation helpful? Give feedback.
All reactions