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

refactor(hook_extender): unify impls, avoid spread duplication, and add test #18

Merged
merged 5 commits into from
Feb 16, 2025

Conversation

shahryarjb
Copy link
Collaborator

This Pull Request introduces several optimizations to HookExtender. First, all scattered impl blocks have been merged into a single impl to improve code readability and maintainability. Additionally, a mechanism has been implemented to prevent redundant Spread object duplication, reducing unnecessary allocations. Finally, a unit test has been added to ensure the correctness of these changes. 🚀

Please do not release it yet, as I need to send a few more updates in other pull requests.
Thank you 🙏🏻♥️

@shahryarjb shahryarjb added bug Something isn't working enhancement New feature or request labels Feb 14, 2025
@shahryarjb shahryarjb self-assigned this Feb 14, 2025
@shahryarjb shahryarjb merged commit 9040163 into ash-project:main Feb 16, 2025
18 checks passed
@shahryarjb shahryarjb deleted the spread-object-hook branch February 16, 2025 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants