3 ms·
> functions have to copy them I'm not an FP expert, but I understand that objects usually are immutable, which means functions don't change them, which means t
by ggeorgovassilis 4y ago
> functions have to copy them
I'm not an FP expert, but I understand that objects usually are immutable, which means functions don't change them, which means that there is no need to copy them. Even if there are changes, unchanged properties would point to the respective properties of the old object, minimising memory footpint.