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

Generator: improve performance of creating instances #2439

Merged
merged 2 commits into from Jul 17, 2023

Conversation

stevenschlansker
Copy link
Member

Right now, every time you call attach or onDemand we repeatedly lookup the class and methods we use to construct them. Now, hold a cache of the lookups so we can re-use them.

@hgschmie
Copy link
Contributor

this should benefit from #2441 as well.

Right now, every time you call attach or onDemand we repeatedly lookup the class and methods we use to construct them.
Now, hold a cache of the lookups so we can re-use them.
Use the new code from #2441 to improve Sql generator method lookup and on demand
attachment.
@sonarcloud
Copy link

sonarcloud bot commented Jul 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@hgschmie hgschmie merged commit 096311a into master Jul 17, 2023
36 checks passed
@hgschmie hgschmie deleted the generator-ctor-mh branch July 17, 2023 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants