yes the announcement is taking care of flushing caches when a <mongoDescription> is added/deleted. probably things can be speed up, but I do not recommend to use #suspendAllWhile: (that will stop announce everything). Instead, you can simply do: VOMongoRepository unregisterToNotifications. Esteban On 24 Jun 2014, at 09:25, phil@highoctane.be wrote:
Thanks, didn't knew about this.
BTW, PetitParser is really awesome. Up and running in a couple hours. Wow.
Phil
On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote: What if you put your gofer expression to load PetitParser in a block closure and then:
SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ]
?
(I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar).
Best,
On Tue, Jun 24, 2014 at 5:52 AM, phil@highoctane.be <phil@highoctane.be> wrote: Looks like there is an announcement for added methods that is used by Voyage when loading packages.
I was loading PetitParser and the image appeared unresponsive for quite a while.
Is there a way to disable that check temporarily?
Phil
-- Mariano http://marianopeck.wordpress.com