angular-ui / ui-grid

UI Grid: an Angular Data Grid
http://ui-grid.info
MIT License
5.39k stars 2.47k forks source link

Performance improvement for core getters #7187

Closed prx-lmo closed 2 years ago

prx-lmo commented 3 years ago

The functions getRow, getColumn and getColDef run for Example through every row there is, just to return the first they found. By using every() instead of filter() this can be shortened to break when found.