Don't copy strings, terms and paths deeply
Closed this issue · 1 comments
dmajda commented
In the context of translated YCP code, strings, terms and paths can be considered immutable. Let's avoid copying them deeply when doing deep_copy
and just copy the reference.
Note that for terms, we should to get rid of Term#[]=
first (otherwise the instances can be mutated easily).
jreidinger commented
fixed in fd39f61