Closed kortschak closed 8 years ago
For my better understanding: why is it stale?
I need to think more about this.
OK. Done thinking. It's clear that we have decided that Clone is something that does not preserve the receiver's state in any way (for better or worse). The original design in my head when I started the shadowing code was to engineer safe work places when there was shadowing. On discussion with @btracey we decided that restriction was more sensible. The TODO here was written when overlap detection would have allowed Clone to work somewhere else in case of an overlap. That can't happen anymore.
I'll add some extra documentation to Cloner and Dense.Clone, and I also will add the *Vector path.
LGTM
@btracey / @vladimir-ch Please take a look.