Bug Tracker

Opened 16 years ago

Closed 16 years ago

#1427 closed bug (fixed)

Memory and performance leak

Reported by: nyteschayde Owned by: john
Priority: major Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:

Description

On line 88 and 1383 of jQuery 1.1.3.1 there is a wasted Array object creation that doesn't need to happen. At least the code on line 88 happens on every call to jQuery and as such can lead to major performance issues in slower browsers like IE.

Fix:
Replace
[].<Array Function>.(call|apply)(....);
with
Array.prototype.<Array Function>.(call|apply)(....);

Change History (2)

comment:1 Changed 16 years ago by john

Owner: set to john

comment:2 Changed 16 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev [2791].

Note: See TracTickets for help on using tickets.