Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

orderBy speed optimization #4177

Closed
Closed
@agentcooper

Description

@agentcooper

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?)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions