Skip to content

[pull] main from VirusTotal:main#216

Merged
pull[bot] merged 1 commit into
threatcode:mainfrom
VirusTotal:main
May 12, 2026
Merged

[pull] main from VirusTotal:main#216
pull[bot] merged 1 commit into
threatcode:mainfrom
VirusTotal:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 12, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Precompute line start offsets and slice source code around annotations and patches. This prevents passing entire large files to the `annotate_snippets` library, significantly improving rendering performance.

Additionally, refactor `byte_offset_to_line_col` to leverage these precomputed line starts, enabling O(logN) lookup for line/column information.
@pull pull Bot locked and limited conversation to collaborators May 12, 2026
@pull pull Bot added the ⤵️ pull label May 12, 2026
@pull pull Bot merged commit 88a5a44 into threatcode:main May 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant