3 ms·
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 m
by taitems 17y ago
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.