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

[0.4.0] delegates are now functions to avoid creating a ton of classes #7

Merged
merged 1 commit into from Feb 18, 2022

Conversation

hgromer
Copy link
Owner

@hgromer hgromer commented Feb 18, 2022

Rather than using classes as delegates, we use functions. This means we aren't spawning classes for every single call to resolve. This is a performance boost, and reduces memory consumption, and garbage collection.

This will change up how this package is used which I think is acceptable given that we are on version < 1

@hgromer hgromer merged commit 5587003 into master Feb 18, 2022
@hgromer hgromer deleted the dev branch February 18, 2022 17:00
@hgromer
Copy link
Owner Author

hgromer commented Feb 18, 2022

Related to #6

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.

None yet

1 participant