Skip to content

Comment on Speedup from switch to +=parent

Comments

Ah, ok, I assumed the issue was happening outside of the function. If the issue is actually those intermediaries being mutated, bummer.

As for copy vs deepcopy, like I said, I have no idea what the type is so I don't know that deepcopy is necessary or not.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.