About #() and {}
Pavel Krivanek
squeak1 at continentalbrno.cz
Tue Feb 15 21:00:20 UTC 2005
> Now I have been discussing with andrew and he made a nice remark that a
> smart compiler
> would create internally #() instead of {} when needed.
IMHO it cannot be replaced simply. Expression arrays generate one instance
for every evaluation but #() uses only one shared literal.
Pavel
More information about the Squeak-dev
mailing list
|