Merge pull request #32786 from pedronastasi/fix-O-n2-complexity
Fix O(n²) performance bottleneck in buildEntitySearch traverse()
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
---
|
||||
|
||||
Fixed O(n²) performance bottleneck in `buildEntitySearch` `traverse()` by replacing `Array.some()` linear scan with a `Set` for O(1) duplicate path key detection.
|
||||
Reference in New Issue
Block a user