News for hackers. Stuff that matters.
Re:jQuery 1.4.1 Released by taitems on Tuesday January 26, 2010 @04:12AM (#1077403)
After playing with the RC1 for a while at work I noticed that the live() methods with mouseenter and mouseleave are incredibly hungry processes and can easily max out a CPU by moving the mouse quickly and erratically. Changing this to a bind() method caused some CPU spike, but not enough to max out the browser like the live() method.

Mind you, this is purely anecdotal and I understand the fundemental differences in the methods (event bubbling versus binding), but it kind of shows that it should be employed cautiously when detecting mouse movement related events.

There are no comments on this comment yet.