Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.17.1
-
None
Description
Currently when you create a selector with OR and ANDs the filter creates a huge stack trace.
This is because for each element in the OR and AND expression node we have to execute a method call.
This is happening because OR and AND expressions are treated as BinaryExpressions.
A very simple but effecting improvement is to not represent OR and AND expressions as binary expression but store the list of siblings expression in only one node.