-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Dict\unique_scalar() function to avoid performance penalty hit when using Dict\unique() on large scalar arrays #168
Conversation
this avoids a rather large performance hit. (#167)
Ah, this fails when values are not scalar ( which is something that we do support ) 🤔 how about we add a new function instead ( e.g: |
…e because they break when the `iterable` contains non-scalars
added function to Loader
Pull Request Test Coverage Report for Build 686097315
💛 - Coveralls |
Gave it a try to |
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.
few comments.
also, please regenerate the documentation using php docs/documentor.php
Co-authored-by: Saif Eddin Gmati <29315886+azjezz@users.noreply.github.com>
Co-authored-by: Saif Eddin Gmati <29315886+azjezz@users.noreply.github.com>
Co-authored-by: Saif Eddin Gmati <29315886+azjezz@users.noreply.github.com>
Co-authored-by: Saif Eddin Gmati <29315886+azjezz@users.noreply.github.com>
missing period on phpdoc extra character on phpdoc for closure
Let me know if I can do anything else. I'll be rather busy until for a few hours, but I can come back to this later today or tomorrow. Thanks for all the feedback. |
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.
this is perfect. thanks 👍
this avoids a rather large performance hit. (#167)