Hi

Added a new plugin that adds a faster version of $.fn.trigger and
$.trigger. There's no real magic, removed all the "internal fat",
optimized it for scalability and added many other improvements.

It's not the most interesting or innovative plugin, but it might be
very useful for someone using $().trigger oftenly.
FastTrigger should be around 4 times faster than $().trigger, on one
element. As the event is triggered on more elements at once, the
difference is more noticeable.
Using $.trigger (global call on ALL elements) is nearly suicidal right
now. Using this plugin will still take long, but much less.

It supports namespaced events and exclusive triggering. The event
object received, is complete.

If someone ever needs this, here's the homepage with documentation and
download links:
jQuery.FastTrigger: http://flesler.blogspot.com/2008/04/jqueryfasttrigger.html

If anyone figures out an additional optimizations, feel free to
suggest.

Ciao

--
Ariel Flesler
http://flesler.blogspot.com

Reply via email to