Skip to content

Conversation

sugmanue
Copy link
Contributor

Motivation and Context

Small optimization. Lazily compile the region pattern instead of parsing it every time. This will pay the penalty of parsing it just once at the cost of using a bit more of memory to keep the parsed pattern.

Modifications

Testing

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING document
  • Local run of mvn install succeeds
  • My code follows the code style of this project
  • My change requires a change to the Javadoc documentation
  • I have updated the Javadoc documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed
  • I have added a changelog entry. Adding a new entry must be accomplished by running the scripts/new-change script and following the instructions. Commit the new file created by the script in .changes/next-release with your changes.
  • My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

  • I confirm that this pull request can be released under the Apache 2 license

@sugmanue sugmanue force-pushed the sugmanue/backport-endpoint-rules-perf-changes branch from 062d118 to a671f7f Compare May 14, 2025 20:17
@sugmanue sugmanue marked this pull request as ready for review May 14, 2025 20:18
@sugmanue sugmanue requested a review from a team as a code owner May 14, 2025 20:18
Copy link

@sugmanue sugmanue enabled auto-merge May 14, 2025 21:08
@sugmanue sugmanue added this pull request to the merge queue May 14, 2025
Merged via the queue into master with commit 7dfea16 May 14, 2025
21 checks 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.

2 participants