-
Notifications
You must be signed in to change notification settings - Fork 5
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
PlainArray and AssocArray lazy evaluation #45
Conversation
BENCHMARKS.md
Outdated
ArrayValueBench | arrayDiffSubsetFunction | 1000 | 3,220,360b | 0.19ms | 1.00x | ||
ArrayValueBench | arrayDiffSubsetWrapped | 1000 | 3,869,672b | 0.25ms | 1.32x | ||
ArrayValueBench | arrayDiffComparatorFunction | 1000 | 3,535,792b | 103.11ms | 542.65x | ||
ArrayValueBench | arrayDiffComparatorWrapped | 1000 | 3,870,264b | 102.03ms | 536.98x |
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.
That's a big performance degradation :O
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.
Yes, it's strange but it's the same with plain PHP.
This benchmark is on PHP8, different machine then previous, still it seems like degradation of array_udiff
or performance improvement of array_diff
🤔
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.
I've fixed the benchmarks without xdebug 🐗
No description provided.