helix-website icon indicating copy to clipboard operation
helix-website copied to clipboard

feat(rum-oversight): improve matching in consent

Open karlpauls opened this issue 6 months ago • 1 comments

The matching in consent maps over all possibilities. Replacing it with find can shortcut the evaluation as only one match is required.

Description

Replace the map in consent with a find and delay the actual look up of the target.

Motivation and Context

Trying to improve the speed of consent matching.

How Has This Been Tested?

Looking at the ui rendering speed in the console at https://consentmatching--helix-website--karlpauls.hlx.page/tools/oversight/explorer.html?domain=aem.live&domainkey=

karlpauls avatar Aug 14 '24 12:08 karlpauls