Skip to content

Use compiled regex patterns for escaping to improve runtime #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

chrispy-snps
Copy link
Collaborator

@chrispy-snps chrispy-snps commented Feb 20, 2025

Uses compiled regex patterns for escaping. Gives about an 8% runtime improvement when escape_misc is enabled.

@chrispy-snps chrispy-snps force-pushed the chrispy/use-compiled-regex-for-escaping branch 2 times, most recently from 45585e3 to d630820 Compare February 20, 2025 01:13
Signed-off-by: chrispy <chrispy@synopsys.com>
@chrispy-snps chrispy-snps force-pushed the chrispy/use-compiled-regex-for-escaping branch from d630820 to cd94b4b Compare February 22, 2025 00:24
@chrispy-snps chrispy-snps changed the title use compiled regex patterns for escaping Use compiled regex patterns for escaping to improve runtime Feb 22, 2025
…ed-regex-for-escaping
@chrispy-snps chrispy-snps merged commit ba5e222 into matthewwithanm:develop Feb 24, 2025
1 check passed
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.

None yet

2 participants