You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thestinger opened this issue
Nov 2, 2013
· 2 comments
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.I-slowIssue: Problems and improvements with respect to performance of generated code.
However, it is much more inefficient than it could be for a type like a vector, where the allocation on the LHS can often be reused. I previously proposed a trait for this, but now that default methods work that's unnecessary.
The text was updated successfully, but these errors were encountered:
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.I-slowIssue: Problems and improvements with respect to performance of generated code.
The following pattern is common:
a = b.clone()
However, it is much more inefficient than it could be for a type like a vector, where the allocation on the LHS can often be reused. I previously proposed a trait for this, but now that default methods work that's unnecessary.
The text was updated successfully, but these errors were encountered: