3 ms·
It ought to, yes. More specifically, immutability means that you cannot observe sharing. What this means is that it's easy to break sharing and if you rely on i
by tel 10y ago
It ought to, yes. More specifically, immutability means that you cannot observe sharing. What this means is that it's easy to break sharing and if you rely on it for performance you might face difficulties.
But you can create it. Names are shared:
let x = [1, 2, 3] in [x, x, x]
There are more exotic ways, too.