> Well you can't generically call copy, so you'...
# stdlib
d
Well you can't generically call copy, so you're always dealing with a concrete data class type, so you know whether you need to call copy or not.
I know, but I mean that compiler could generate a
copy
which is smart enough to not copy when current value is equal to the new one