Faster map
Faster map
Hi, I made a ticket with a modification for $.map, that greatly
increases its perfomance.
Ticket:
http://dev.jquery.com/ticket/2803
diff:
http://dev.jquery.com/attachment/ticket/2803/faster-map.diff
benchmark:
http://snurl.com/27b1r
The benchmark maps an array of 50 items, many times and the results
show that these changes make map around 3 times faster.
I ran the test suite on all 4 browsers.. but as $.map is a basic
function, I prefer to ask first.
If you think it's safe, I can commit right away...
Cheers
--
Ariel Flesler
http://flesler.blogspot.com
Topic Participants
aflesler
John Resig