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

AbstractScope creates an excessive amount of HashMaps, internally #3944

Closed
lukaseder opened this issue Jan 14, 2015 · 1 comment
Closed

AbstractScope creates an excessive amount of HashMaps, internally #3944

lukaseder opened this issue Jan 14, 2015 · 1 comment

Comments

@lukaseder
Copy link
Member

The newly introduced AbstractScope eagerly creates HashMap instances, even if they are not going to be needed (such as for DefaultBindingGetResultSetContext). Lazy-initialising this map can greatly improve performance for those Scope implementations that are always used by single threads only

@lukaseder
Copy link
Member Author

This contributes to improved performance (#3065)

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

No branches or pull requests

1 participant