{"version":"2.1.229","anchor":"diagnostics-comparison-rewritten-to-use-derived-keys","canonical_anchor":"diagnostics-comparison-rewritten-to-use-derived-keys","heading":"Diagnostics comparison rewritten to use derived keys","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.229\/e\/diagnostics-comparison-rewritten-to-use-derived-keys","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.229","markdown":"### Diagnostics comparison rewritten to use derived keys\n\nWorking out which editor diagnostics are new got much faster on large files.\n\n**What**\n\nThe tracker that decides which editor diagnostics are new now compares sets of derived keys instead of every field of every pair, turning the comparison from quadratic to linear. The old equality helper is gone.\n\n**Evidence**\n\n`areDiagnosticArraysEqual`\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 1\/5"}