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

Implement factorization #66

Open
jclaveau opened this issue Oct 24, 2018 · 0 comments
Open

Implement factorization #66

jclaveau opened this issue Oct 24, 2018 · 0 comments

Comments

@jclaveau
Copy link
Owner

Factorization can provide a significant gain of speed while for example doing:

foreach ($ids as $i => $id)
    $filter->or_(['field', '=', $id]);

which could be factorized in automatically instead of generating a lot of ors:

$filter->and_(['field', 'in', $ids]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant