> On 11 May 2022, at 09:00, Marcus Denker <[email protected]> wrote:
> 
> Pharo9: 65,8 MB
> Pharo10: 57,4 MB
> Pharo11: 56,5 MB

Another small step:

        Pharo11: 55,4 MB

Reset SelectorTable on #cleanUp #11235
        https://github.com/pharo-project/pharo/pull/11235

        - avoid interning selectors on compile, just do it on install
                 (which means it will not be done for DoIts and FFI methods)
        - This allows to reset it on #cleanUp
        - Which is done on the CI as part of the build.
        - trivial: simplify #internSelector: a little (no temp needed)


Not perfect, of course, as the SelectorTable is created on the first compile 
and then only removed if you call the reset method (e.g. via “Symbol cleanUp”). 

But on the plus side, besides a smaller distributed image size, even e.g. 
a pre-build worker image should never allocate this and be a bit smaller during 
execution.

        Marcus

Reply via email to