$.fn.data() internally uses $.fn.trigger() for whatever reason. When
using $.fn.data() heavily, $.fn.trigger() starts to slow down the
code. In my situation Firebug profiler tells me 20% of the time is
consumed by $.fn.trigger() as a result of $.fn.data() calls.

Shouldn't it be possible to get rid of $.fn.trigger() in $.fn.data()
or make $.fn.trigger() more efficient?

Reply via email to