Arrays / collections with literal syntax - fixed size?

Lukas Renggli renggli at
Sun Jan 6 21:24:30 UTC 2008

> Now I was under the impression, that a context had a copy of a compiled
> method with copies of the literals, so that you could only modify the
> copies but not the literals in the compiled method. But it seems not to
> be that way:

This would turn a simple message send to be incredibly expensive.

> This is evil! :)

I want an immutability flag in the object-header!


Lukas Renggli

More information about the Squeak-dev mailing list