Arrays / collections with literal syntax - fixed size?

Lukas Renggli renggli at gmail.com
Mon Jan 7 20:50:58 UTC 2008


> Doing so would allow the implementation to be optimised by all
> optimisations that help for sends in general. Adding a immutability
> flag would add another thing to check on every instance variable
> write. Squeak's write barrier is expensive enough as it is.

It is not quite transparent, unfortunately.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch



More information about the Squeak-dev mailing list