#215 ✓resolved
Juriy Zaytsev

Optimize #bind/#bindAsEventListener

Reported by Juriy Zaytsev | July 9th, 2008 @ 11:11 PM | in 1.6.0.3

Minor optimization of Function#bind. Since 90% of the time, #bind is not used to "prefill" arguments (but only to set "context"), a combination of Array.prototype.concat and $A could be simply avoided. This performance boost should affect the entire library as #bind is one of the "core" methods.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

Referenced by

Pages