Bug Tracker

Opened 15 years ago

Closed 14 years ago

#3722 closed enhancement (fixed)

event.remove involves unnecessary creation of cache items

Reported by: n_belaevski Owned by: flesler
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc: n_belaevski
Blocked by: Blocking:

Description

event.remove(node) function calls fn.data(node, "events") function that creates cache entry for this node if there's none yet. This seem to decrease performance.

Proposed patch against 1.2.6 jQuery version attached.

Attachments (1)

jquery-3722.patch (715 bytes) - added by n_belaevski 15 years ago.

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by n_belaevski

Attachment: jquery-3722.patch added

comment:1 Changed 15 years ago by flesler

Cc: n_belaevski added
Component: unfilledcore
need: PatchReview
Status: newassigned
Type: bugenhancement

comment:2 Changed 14 years ago by yehuda

Resolution: fixed
Status: assignedclosed

Fixed in r6562.

Note: See TracTickets for help on using tickets.