[erlang-questions] copy or reference?

June Kim <>
Sat Apr 7 05:58:43 CEST 2007


Hello,

It looks like there are copy operations in some functional data
structures in Erlang. Say, I have a list L and I want to update the
n-th element in L. Then, a copy would happen, and it is an expensive
operation, memory-wise and time-wise.

What data structures and their operations in Erlang occur non-copy operations?



More information about the erlang-questions mailing list