You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I poked around the benchmarks too. I noticed in the original benchmark that the items are sorted. Here's one with randomized item values: http://jsperf.com/orderby-speed-optimization/2
I made a speed optimization to the orderBy filter utilizing the schwartzian transform.
Here is the jsPerf: http://jsperf.com/orderby-speed-optimization
And here is the diff: https://github.com/agentcooper/angular.js/commit/d20a9e65eb2a4fdf9f935636c5c278212e3d09cc (not sending a pull request yet, because tests are currently broken in master :-( Can we fix it?)
The text was updated successfully, but these errors were encountered: