Side navigation
#1427 closed bug (fixed)
Opened July 27, 2007 03:39AM UTC
Closed August 20, 2007 07:08AM UTC
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)(....);