Re:Show HN: Gelidum – My Python library to freeze objects
by diegojromero on Tuesday June 15, 2021 @04:10AM
(#27512562)
Interesting idea, instead of a deep clone, would it be something similar to the copy-on-modify pattern?
[ Parent
| on HN ]
Re:Show HN: Gelidum – My Python library to freeze objects
by macintux on Tuesday June 15, 2021 @06:12PM
(#27522200)
Copy on modify would work, certainly. The term I was forgetting when I wrote that is “persistent” data structures, but I’m not sure whether it’s practical to implement persistent structures in a non-functional language like Python.
https://hypirion.com/musings/understanding-persistent-vector...