Y
Hacker News
new
|
ask
|
show
|
jobs
by
diegojromero
1837 days ago
Interesting idea, instead of a deep clone, would it be something similar to the copy-on-modify pattern?
1 comments
macintux
1837 days ago
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...
link
https://hypirion.com/musings/understanding-persistent-vector...