Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
derkha
· 5y ago · 0 comments
Lean 4 developer here. If the array is shared, we make a full copy. It's the same semantics as in Swift.
Comments
[–]
creata
5y ago
Thanks. I assumed that option would be a major footgun (since accidental copies can be very expensive) but if it works for Swift, it can't be
that
bad.