Replies: 2 comments 4 replies
-
cc @dsherret @bartlomieju Do you use some methods like |
Beta Was this translation helpful? Give feedback.
0 replies
-
When do you need to clone them? Is this something that could be done if desired after parsing? I think it’s not a big deal whatever is decided. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm considering changing
Comment
to storeArc<String>
instead ofString
.This is because comments are typically simply passed around, and there are lots of cases where comments should be cloned.
Also, it's quite hard to modify the content of
Comment
without allocation, so it's not likely to degrade performance.Beta Was this translation helpful? Give feedback.
All reactions