3 ms·
It's important to be aware of performance in every domain, but there are few domains where performance is always the overriding consideration. As Carmack said:
by marshray 14y ago
It's important to be aware of performance in every domain, but there are few domains where performance is always the overriding consideration. As Carmack said:
Most of the time this is of only theoretical interest; we trade performance for productivity all the time
- RyanZAG 14y agoI agree, but the idea of switching to immutable blocks in this case is so you can use auto-threading on the blocks. ie. you're switching to immutable blocks to increase performance through threading. If the immutable blocks don't increase performance through threading in excess of the loss from just using mutable blocks, then the whole exercise is wasted. Bolting on immutable blocks into C# is unlikely to have the same effect for readability as designed-around-immutability of Haskel.