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

Phil B pbpublist at gmail.com
Thu May 7 22:00:30 PDT 2020


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/3a4d84de/attachment.htm>


More information about the Cuis-dev mailing list