Skip to content

Conversation

@haraldschilly
Copy link
Contributor

Moves the RegExp definition outside the parse_synctex_output function scope to prevent recompilation on every call.

Measured improvement: ~8-9% faster execution time (from ~958ms to ~870ms for 100k iterations).

Moves the RegExp definition outside the `parse_synctex_output` function scope to prevent recompilation on every call.

Measured improvement: ~8-9% faster execution time (from ~958ms to ~870ms for 100k iterations).
@haraldschilly haraldschilly added PR-needs testing work done, only testing left to do PR-TODO-cocalc2 merge/migrate this PR into CoCalc2 in the future labels Jan 16, 2026
@haraldschilly
Copy link
Contributor Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Nice work!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@haraldschilly haraldschilly marked this pull request as ready for review January 16, 2026 17:19
@haraldschilly haraldschilly merged commit 6cdd92f into sagemathinc:master Jan 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR-needs testing work done, only testing left to do PR-TODO-cocalc2 merge/migrate this PR into CoCalc2 in the future

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant