isVisible
is not caching correctly
#1442
Labels
bug
Report of unexpected or faulty behaviour in Alfa
Performance
Related to a performance improvement
The cache lookup at https://github.com/Siteimprove/alfa/blob/main/packages/alfa-style/src/node/predicate/is-visible.ts#L42 is rebuilding a new option every time, which results in a cache miss since the old and new key are identical but separate objects 🙈
The text was updated successfully, but these errors were encountered: