[Cuis-dev] Recently added Morph class>>releaseClassCachedState

Phil B pbpublist at gmail.com
Thu May 7 22:32:20 PDT 2020


I just ran a quick test... yes, let's please have a fast save option!  When
I eliminated the #releaseClassCachedState sends from the save process (and
the corresponding #initClassCachedState on the other side of the save), the
save took *maybe* 1/4 of a second.

On Fri, May 8, 2020 at 1:00 AM Phil B <pbpublist at gmail.com> wrote:

> I noticed that this method is significantly slowing down image saves...
> taking upwards of 10 seconds.  Partially it's due to my Morphs now wiping
> and recreating a bunch of state each save.  But it's also partially due
> just to the overhead of Morph allSubInstancesDo: [:ea| ] taking ~3-4
> seconds to execute per save. (in an image with ~2k morphs, which isn't that
> hard to get to)
>
> If the goal is to minimize saved image file size, could we have options
> for a 'fast save' vs a 'small save'?  Unless I'm going to email/publish an
> image, I'd prefer the save to be fast rather than small.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200508/9d9387d2/attachment.htm>


More information about the Cuis-dev mailing list