Skip to main content

Bug Tracker

Side navigation

#2803 closed enhancement (fixed)

Opened May 06, 2008 02:09AM UTC

Closed May 06, 2008 02:55PM UTC

Last modified November 28, 2010 02:01AM UTC

Faster Map

Reported by: flesler Owned by: flesler
Priority: major Milestone: 1.2.4
Component: core Version: 1.2.3
Keywords: map Cc:
Blocked by: Blocking:
Description

These changes make jQuery.map considerably faster.

Attachments (1)
Change History (4)

Changed May 06, 2008 02:10AM UTC by flesler comment:1

description: → These changes make jQuery.map considerably faster.
status: newassigned

Changed May 06, 2008 02:55PM UTC by flesler comment:2

resolution: → fixed
status: assignedclosed

Applied at [5470].

Changed November 27, 2010 09:08PM UTC by gregg.lind comment:3

Is the change to ret.concat.apply here redundant?

1203 return ret;

1199 return ret.concat.apply( [], ret );

Changed November 28, 2010 02:01AM UTC by ajpiano comment:4

No, as we established during our discussion of this, that is how nested arrays are flattened. I filed a pull request to add a comment to the source.