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

Improve performance of DependencyBuilder #226

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

skorulis-ap
Copy link
Collaborator

@skorulis-ap skorulis-ap commented Dec 23, 2024

This removes the need for some casts like if ref.type is any AbstractAssembly.Type which it turns out have a heavy performance penalty in large apps.
This makes the code a little bit more complex but for a large app saves ~100ms in startup time.

@skorulis-ap skorulis-ap force-pushed the skorulis/cast-performance branch from c85f7c8 to 7307774 Compare December 23, 2024 09:12
@skorulis-ap skorulis-ap marked this pull request as ready for review January 6, 2025 23:20
@skorulis-ap skorulis-ap requested a review from bradfol January 6, 2025 23:20
@skorulis-ap skorulis-ap changed the title Experiment to improve performance of the dependency builder Improve performance of the dependency builder Jan 7, 2025
@skorulis-ap skorulis-ap changed the title Improve performance of the dependency builder Improve performance of DependencyBuilder Jan 7, 2025
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