[squeak-dev] read-only literals
Stéphane Rollandin
lecteur at zogotounga.net
Mon Mar 26 08:19:15 UTC 2018
> the VM now has support for read only objects, and the first logical
> application is for literals, making boxed floats, strings, symbols,
> arrays and byte arrays read-only.
Arrays and byte arrays? Do you mean we will not be able anymore to
update the content of any array without copying it? It would be very,
very wrong IMO. Avoiding unnecessary copying is of paramount importance
for performance. BTW, sound is stored in byte arrays.
I guess I am missing something here :)
Stef
More information about the Squeak-dev
mailing list
|