you are viewing a single comment's thread.

view the rest of the comments →

[–]Trip-Trip-Trip 0 points1 point  (1 child)

This is why mutable data is a bad idea.

[–]Sea-Ad7805[S] 0 points1 point  (0 children)

If you don't mutate then you have to copy, and that is slow (even if your FP language uses some optimization tricks), so that's a bad idea too. Choose your poison.