The replacement of EventDispatcher, 26% faster
The replacement of EventDispatcher, 26% faster, Posted in Actionscript 3, Flash, July 21st, 2009

I designed a pure ActionScript event method following a similar API of JKEvent. In most circumstances it just barely beats out the speed of the native EventDispatcher but EventDispatcher is left in the dust when you start timing the whole event lifecycle: “connect, dispatch, disconnect, dispatch”.

Cons: You don’t get priority

Pros: You get Silent Events, Argument Events, Remove All(event connections) from Observer, Remove All(event connections) from Sender. Its fast.

How it works: Its built using Dictionaries and LinkedLists. Turned out pretty good since I wrote it last week and never tried to actually run it until now.
Results

I recorded a variance of 0.5%+/-.

I licensed EmotenCore under LGPL and it is currently distributed as a compiled library.

Here is the License: License Here is the SWC: EmotenCore.swc Here is the docs: Emoten Core Docs