- Introduce `videoTagCache` (WeakMap) in `js/feedEngine/kidsScoring.js` - Cache result of `normalizeTagSetFromVideo` to avoid re-computation - Improved benchmark performance by ~35% Co-authored-by: PR0M3TH3AN <[email protected]>
- Replaced array allocation and loop with unrolled scalar comparisons in `kidsScorerStage`. - Added unit tests and benchmark. - Measured ~12% performance improvement (282ms -> 249ms for 200k items). Co-authored-by: PR0M3TH3AN <[email protected]>