On Jan 21, 2018, at 10:37 PM, Ben Coman <btc(a)openInWorld.com>
On 21 January 2018 at 23:55, Tudor Girba <tudor(a)tudorgirba.com> wrote:
> There is a difference in performance. The Announcement is slower (about 2-3x slower).
However, for 1M events the difference is measured in a 200-400ms, which is very small.
So you mean each event <1ms difference?
btw, what is the biggest usage of events? I guess mouse movements?
How many such events typically in 1 second of movement?
How is performance on StackInterpreter VM?
I guess we should keep that performant for platforms lacking JIT like
It depends on the scene. We are still looking into how to evaluate this. That’s why we
still have both implementations around.
> The benefit of using Announcement is that we can reuse the
tooling around Announcement, such as blogging and debugging.
This looks really useful. Can you describe the difference between the
red and blue lines in the picture of the first link?
- The first is called “capturing” (or filtering) and goes from the root to the leaf. This
is to allow a parent to prevent a child to react to an event.
- The second one is called “bubbling” (or handling) and goes from the leaf to the root.
This is to find the most specific element to handle the event.
> Still, the way it is used in Bloc is different from the typical usage in that Bloc
registers to all Events (which are Announcements) and then dispatches through them to
specific Element method (like BlEventListener>>clickEvent:). Still the cool thing is
that you also can still register from the outside to a specific event using a normal
> We will write a piece of doc about it.
>> On Jan 21, 2018, at 4:46 PM, Stéphane Ducasse <stephane.ducasse(a)inria.fr>
>> this looks really cool.
>> For the event I remember the discussion with glenn about the difference and I
>>> On 21 Jan 2018, at 15:54, Tudor Girba <tudor(a)tudorgirba.com> wrote:
>>> Here is an update of the work on Bloc and GT. As always, please do let us
know what you think.
>>> - Eventing saw a deep overhaul. They are now dispatched using the
Announcements engine. The previous mechanism is still in place in order to help people
compare the impact. In the process, we also cleaned the propagation of events, and we made
them debuggable through inspector extensions:
>>> - Embedding Bloc elements in Morphic is even easier now:
>>> - We continued the work towards an interactive creation of a graphical
>>> - Theme experiment
>>> - The documentation of Mondrian is available when you download the code and
can be viewed using GT Documenter:
>>> - The Mondrian extensions of BlElement are now extracted in a more general
package that enables Bloc elements to be used in graph scenes.
>>> Have fun,
>>> The feenk team
>>> "Obvious things are difficult to teach."
>>> Moose-dev mailing list
>> Stéphane Ducasse
>> 03 59 35 87 52
>> Assistant: Julie Jonas
>> FAX 03 59 57 78 50
>> TEL 03 59 35 86 16
>> S. Ducasse - Inria
>> 40, avenue Halley,
>> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
>> Villeneuve d'Ascq 59650
>> Moose-dev mailing list
> "Beauty is where we see it."
> Moose-dev mailing list
Moose-dev mailing list
"Every thing should have the right to be different."