helix-website
helix-website copied to clipboard
feat(rum-oversight): improve applyFilter
Save a loop in the applyFilter method of cruncher (as applyFilter is getting called a lot).
Description
The applyFilter method is called a lot and it seems to iterate over a result list to see if every value is true which it looks like could be done directly.
Motivation and Context
Speed-up the applyFilter method
How Has This Been Tested?
Looking at the ui rendering speed timing in the console at:
https://filter--helix-website--karlpauls.hlx.page/tools/oversight/explorer.html?domain=aem.live&domainkey=