Skip to content
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

Compile regex just once for HostStrategy #936

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

lahma
Copy link
Contributor

@lahma lahma commented Feb 6, 2025

No need always create the regex over and over again (though it could be cached if regex cache isn't polluted). Now constructing regex in constructor with compiled flag and using it in following invocations.

@AndrewTriesToCode
Copy link
Contributor

Thanks!

@AndrewTriesToCode AndrewTriesToCode merged commit a70f7e0 into Finbuckle:main Feb 8, 2025
7 checks passed
@lahma lahma deleted the better-regex branch February 8, 2025 20:20
github-actions bot pushed a commit that referenced this pull request Mar 12, 2025
## [9.1.0](v9.0.0...v9.1.0) (2025-03-12)

### Features

* add WithDelegateStrategy<TContext, TTenantInfo> ([#932](#932)) ([a18a935](a18a935))
* add WithHttpContextStrategy ([#934](#934)) ([e6aeb7c](e6aeb7c))
* better async pattern for class libraries ([#942](#942)) ([8235462](8235462))
* improved perf for HostStrategy ([#936](#936)) ([a70f7e0](a70f7e0))

### Bug Fixes

* added new analyzers and multiple fixes  ([#937](#937)) ([9d9b1e4](9d9b1e4))
* MultiTenantDbContext.Create should have non nullable TenantInfo ([#916](#916)) ([9df0527](9df0527))
@AndrewTriesToCode
Copy link
Contributor

🎉 This PR is included in version 9.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants