-
Notifications
You must be signed in to change notification settings - Fork 458
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
Create parallel data structure for types to fasten up lookups later. #618
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense with the util method being used from 2 places.
Naming wise, let's go with the purpose rather than "fast" to keep it consistent.
Watch out for code formatting to kept things consistent.
Can you also update the changelog.
src/Castle.Windsor/MicroKernel/Registration/ComponentRegistration.cs
Outdated
Show resolved
Hide resolved
src/Castle.Windsor/MicroKernel/Registration/ComponentRegistration.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Jonathon Rossi <[email protected]>
Co-authored-by: Jonathon Rossi <[email protected]>
Co-authored-by: Jonathon Rossi <[email protected]>
Co-authored-by: Jonathon Rossi <[email protected]>
Co-authored-by: Jonathon Rossi <[email protected]>
…ion.cs Co-authored-by: Jonathon Rossi <[email protected]>
…ion.cs Co-authored-by: Jonathon Rossi <[email protected]>
All your proposed changes are commited. |
When profiling application build times I noticed that a lot of my performance went into a List.Contains call.
This seems like a problem that's easily solved. I'm well aware that I might have missed some detail here, but this kind of change would bring a lot of performance to applications registering a lot of components.
This is just a rough draft, but I would be very much interested in your input and explanations.
Thank you!