[squeak-dev] Make ImageSegments import-only?

David T. Lewis lewis at mail.msen.com
Tue Sep 13 20:28:55 UTC 2016


+1

Dave

> Hi all,
>
> I think there is no current usage of image segments. Project storing has
> been broken for a while and that's the only current use I am aware of.
>
> What about this idea:
>
> We keep ImageSegment but remove all support for writing. It would only be
> used for importing old projects. It would not use the VM primitives
> (because they are incompatible anyways).
>
> The number of methods in ImageSegment would shrink from more than 80 to
> 15.
> My SegmentLoader has 25 methods, it replaces the VM primitive. Cog appears
> to be fast enough to not cause a significant slowdown in loading.
>
> With this, old projects can still be imported, but writing projects would
> have to use some other serialization mechanism (which we discussed
> before).
> It would remove quite a bit of unused code, making the remaining code more
> easily understandable.
>
> Sounds good?
>
> - Bert -
>
>




More information about the Squeak-dev mailing list