3 ms·
> functional use requires cloning If you're suggesting that functional updates require the entire collection to be copied, that's not correct. Only a small am
by ScottBurson 10y ago
> functional use requires cloning
If you're suggesting that functional updates require the entire collection to be copied, that's not correct. Only a small amount of data (oproportional to the logarithm of the size of the collection) has to be copied on each update. The result is that functional collections are quite practical for most uses. They have stylistic benefits as well.
- codr4life 10y agoNot at all, just noting the difference. I don't expect this to have much of a chance in comparison with more elaborate, mature libraries; like the one you suggested.