| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
No active review issues block approval of the SARIF fingerprint dispatch optimization.
No open issues 🎉
1 file not reviewedOptimizes SARIF fingerprint generation by dispatching each source-line hash only to matching results, while preserving the existing hash algorithm and fingerprint behavior.
Changes:
| File | Description |
|---|---|
| unreleased-change-notes/fingerprint-callback-dispatch.md | Documents faster fingerprint generation without changing fingerprints. |
| src/fingerprints.ts | Groups callbacks by source line for targeted dispatch. |
| src/fingerprints.test.ts | Tests matching-line dispatch and preserved edge-case behavior. |
Review effort: Balanced (auto)
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Index fingerprint callbacks by source line within each file instead of invoking every result callback for every emitted line hash. Files are still hashed once and the rolling hash and fingerprint format are unchanged.
This removes the lines-times-results callback dispatch cost on files with many findings, including the repeated Object.values array creation. Multiple results on the same line still receive the same fingerprint; inconsistent existing fingerprints are preserved and still generate warnings.
Validation
Validated locally with Node 24.22.2. This PR makes no whole-analysis or fleet savings claim.