3 ms·
If I create an immutable string "hello world" why would it be passed by copy; it can never be changed only garbage collected. The BEAM seems to do magic here a
by andy_ppp 10y ago
If I create an immutable string "hello world" why would it be passed by copy; it can never be changed only garbage collected.
The BEAM seems to do magic here and do much less work than you might think when creating "new" things.