[squeak-dev] Question about "variables" button in browser
Chris Muller
asqueaker at gmail.com
Tue Jul 12 00:07:19 UTC 2022
>
> Whether to use a message send or direct access via
> a pool goes along the lines of accessors-vs-instVar-Access.
> I prefer message sends. Direct access can be faster,
> which I exploited in Squeak FFI type accessors and
> generated code.
>
There's one case where pool variables are better than messages: for sets
of constants heavily used across a code base.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220711/fb73e9fd/attachment.html>
More information about the Squeak-dev
mailing list
|