Arrays and tuple write (setelement) optimization

Sean Hinde Sean.Hinde@REDACTED
Fri Jul 6 20:22:03 CEST 2001

> So I'm wondering if someone has considered adding such a 
> optimization to the 
> erlang compiler/VM or are there any problems I forgot about ?

There was a posting about this some time back:

As I understand it the problem with what you suggest (which is the same for
vectors) is that the current garbage collector relies on the unidirectional
nature of erlang and doesn't have any way to go back and deal with
destrctively updated stuff. Or something like that.

There was some stuff about this in the thread:

- Sean

This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.

More information about the erlang-questions mailing list