Hacker Read
top
|
best
|
new
|
newcomments
|
leaders
|
about
|
bookmarklet
login
tylerhou | karma 3374 | avg karma 3.28
2021-04-13 16:12:06+00:00
|
next
[–]
update item
Probably not; detecting unnecessary clones is expensive for non-trivial cases. If a human can't prove that the clone isn't necessary (by writing the code in such a manner that the borrow checker accepts), I doubt the compiler could.
reply
view as:
tree
latest_first
Legal
|
privacy
reply