Skip to content

Why does duplicate() make deep copies?

2 messages · Peter Meilstrup, Simon Urbanek

#
On Sep 5, 2013, at 12:31 AM, Peter Meilstrup wrote:

            
Because ref counting is not recursive. Changing that breaks a quite a few packages that abuse the fact that copies are currently deep. Main problem with that is that it's pretty much impossible to detect it ahead of time. That said, there are efforts underway by Luke Tierney and Michael Lawrence to see how far we can go without breaking everything.

Cheers,
Simon