Skip to content

perf: move ANSI regex compilations to package level#1040

Merged
adamdotdevin merged 1 commit into
anomalyco:devfrom
matiasinsaurralde:perf/precompile-regexp
Jul 16, 2025
Merged

perf: move ANSI regex compilations to package level#1040
adamdotdevin merged 1 commit into
anomalyco:devfrom
matiasinsaurralde:perf/precompile-regexp

Conversation

@matiasinsaurralde

Copy link
Copy Markdown
Contributor

Prevents the regexps from being recompiled on every function call, which improves performance especially when these functions are called frequently during diff rendering and overlay operations.

…compilation

Signed-off-by: Matías Insaurralde <matias@insaurral.de>
@adamdotdevin
adamdotdevin merged commit e89972a into anomalyco:dev Jul 16, 2025
achembarpu pushed a commit to achembarpu/opencode that referenced this pull request Aug 4, 2025
Signed-off-by: Matías Insaurralde <matias@insaurral.de>
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Signed-off-by: Matías Insaurralde <matias@insaurral.de>
bussard76 pushed a commit to bussard76/openwork that referenced this pull request May 12, 2026
Co-authored-by: Omar McAdam <omar@OpenWork-Studio.localdomain>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Signed-off-by: Matías Insaurralde <matias@insaurral.de>
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Signed-off-by: Matías Insaurralde <matias@insaurral.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants