Local cache for getClosestElementWithVirtualBinding #4467

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

hpbuniat commented May 28, 2012

While working on #4458 i noticed, that most of the cpu is spent by $.data in order to handle the v-events. This is a simple patch to work with a local-cache for 'getClosestElementWithVirtualBinding'.

This improves the event-handling for events which are triggered repetitively from the same source, like e.g. when dragging a slider-handle.

I've added no special unit-test for this, but all existing ones are still passing in Chrome 19 & ipad2/ios 5.1.1.

Owner

arschmitz commented Aug 6, 2013

there are conflicts here and this is very old closing will be happy to look if it is updated though

arschmitz closed this Aug 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment