Replies: 6 comments 3 replies
Of course not: The goal of methods like Anyway, |
|
Ok, there's nothing to optimize. |
|
Mh, anyway to make this effective I have to do in instead of |
|
Released |
My apologize. You are very right. Furthermore, I checked the behavior of the C extension, and it does not do a deepcopy. So there's an inconsistency between the C and the py implementations. I'll fix it removing the |
|
Released |
Uh oh!
There was an error while loading. Please reload this page.
I've been going through the code and stumbled upon
deepcopycalls infrozendict'sset,delete, etc. methods.Why are they there? Isn't
copyenough to add/remove a key?Calling
deepcopyfor updates has obvious performance issues (it's slow to copy every object in the dict) so in my project I removed these calls via overriding the corresponding methods. But maybe I'm missing something?All reactions