[kepler-dev] Re: zero-length arrays

Edward A Lee eal at eecs.berkeley.edu
Thu Aug 12 04:40:03 PDT 2004


At 08:53 PM 8/11/2004 -0700, Tobin Fricke wrote:
>Right now
>there's no way to append to an ArrayToken w/o copying the whole thing.

This is not an implementation detail...

A key principle we've followed is that tokens are immutable.
There are many benefits to this (e.g., you can broadcast a token
to many actors without introducing a hidden source of nondeterminacy).

I don't think we should change that policy lightly...

Edward



------------
Edward A. Lee, Professor
518 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0455, fax: 510-642-2739
eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal




More information about the Kepler-dev mailing list