-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Filter first, the the rest #47
Comments
It doesnt make a difference and is a micro optimization with no benefit. When you have both flags activated, there is no measurable improvement at all. No need to change this, as it doesn't make any real world difference. |
It does. Lets examine then this next real life case. In case if this patch will be applied. Those 99 items will be filtered first and 1 left. If optimized it becomes twice! efficient.
In my case I have:
Where Otherwise when form if submitted Probably the last example is just my corner case, but with first example you can see that with optimization code works twice! faster. Thanks. |
You are right, it was my head wrongly wrapped around. I'll someday implement this. |
This is more faster because the next modification functions need to work with less amount of elements.
The text was updated successfully, but these errors were encountered: