Name matching is not very robust or performative.
|
const entries = Array.from(lookup.entries()).sort((a, b) => b[0].length - a[0].length); |
|
const normtext = normalizeName(text); |
|
for (const [key, value] of entries) { |
|
if (normtext.includes(key)) { |
GPU "ION" Resulting in false positives
Name matching is not very robust or performative.
speclens/src/annotate.js
Lines 20 to 23 in 724832e
GPU "ION" Resulting in false positives