Hi,
On May 21, 2016, at 10:47 PM, Peter Uhnák <i.uhnak@gmail.com> wrote:
For example, one place I look at is SystemAnnouncer uniqueInstance, and I know that I should have no Nautilus open and that I can disable Renraku and GTExample:
You can just do this and not worry about subscribers
SystemAnnouncer uniqueInstance suspendAllWhile:
Indeed. The problem with this is that RPackage will get out of sync.
(I was trying to speed up code generation so I did some benchmarks last year http://forum.world.st/fast-subclassing-class-creation-in-tests-tp4857779p485... )
Thanks for the pointer.
Also couple weeks back I found out that adding instance variable to a class is extremely slow and it's best to add them during the initial setup, but maybe that isn't a problem here.
Indeed, I noticed that, too. Cheers, Doru
Peter
On Sat, May 21, 2016 at 9:50 PM, Tudor Girba <tudor@tudorgirba.com> wrote: Hi,
I am looking for ways to make loading of code from an st file faster. To this end, I would like to find in-image mechanisms that are not mandatory for obtaining a functional image.
For example, one place I look at is SystemAnnouncer uniqueInstance, and I know that I should have no Nautilus open and that I can disable Renraku and GTExample:
ReRuleManager uniqueInstance unsubscribe. GTExampleOrganizer instance stopSystemAnnouncements.
What else do you see around?
Cheers, Doru
-- www.tudorgirba.com www.feenk.com
"Don't give to get. Just give."
-- www.tudorgirba.com www.feenk.com "It's not what we do that matters most, it's how we do it."