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

Lazily create BytecodeBoundClass objects #352

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

copybara-service[bot]
Copy link

Lazily create BytecodeBoundClass objects

Most of the classes on the classpath are never loaded, and BytecodeBoundClass has a relatively expensive constructor that creates a bunch of suppliers to try to defer work until it's needed. Putting yet another lazy supplier in front of the entire BytecodeBoundClass makes classes that are never loaded cheaper.

Most of the classes on the classpath are never loaded, and `BytecodeBoundClass` has a relatively expensive constructor that creates a bunch of suppliers to try to defer work until it's needed. Putting yet another lazy supplier in front of the entire `BytecodeBoundClass` makes classes that are never loaded cheaper.

PiperOrigin-RevId: 690677848
@copybara-service copybara-service bot merged commit b7b5536 into main Oct 28, 2024
1 check passed
@copybara-service copybara-service bot deleted the test_main_689917323 branch October 28, 2024 18:04
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.

1 participant