4 ms·
Ah, I did not dive that deep. Now I am curious what the impact of deep copies on performance is, and if the language employs any clever optimizations to improve
by catlifeonmars 7y ago
Ah, I did not dive that deep. Now I am curious what the impact of deep copies on performance is, and if the language employs any clever optimizations to improve performance.
- abiogenesis 7y agoI don't see how you can reliably deep copy any user defined class either.
- lgessler 7y agoThere are none, at least in the familiar OOP sense: > Chaos language is not object-oriented. So everything is done by functions and data types.
- deleted 7y ago[deleted]
- agentultra 7y agoTurns out that immutable data structures can share a lot of structure safely. https://www.amazon.com/Purely-Functional-Structures-Chris-Okasaki-ebook/dp/B00AKE1V04 https://www.amazon.com/Purely-Functional-Structures-Chris-Ok...