On 2020/04/13 21:01:11, hanwenn wrote: > it's hard to say if this makes a measurable difference: > > [...]
So then ... why do it at all? From a code perspective, a deep copy looks saner in terms of "encapsulation" (one principle of object-oriented programming). If there is no provable gain, I'm for leaving the current code alone until there is good reason to change - "premature optimization is the root of all evil" https://codereview.appspot.com/561640045/