3 ms·
It's not free. The cost is reallocation every time something changes, which in many cases is all the time. Not all the world's a web page.
by taneq 10y ago
It's not free. The cost is reallocation every time something changes, which in many cases is all the time. Not all the world's a web page.
- louthy 10y ago> Not all the world's a web page Did you really need that patronising statement? My point wasn't about memory usage, it was about development cost. The transactional behaviour emerges by default from use of immutable structures. Any transactional system will have memory performance characteristics that are very similar to using immutable structures, if not worse, so your point was, well, pointless.