Article
Filtering earlier with eval
An engineering note about reducing unnecessary work inside a query.
A conditional expression can decide which events deserve the cost of the remaining stages. The article explores the performance implications when the filtering logic can be evaluated early.
When comparing alternatives, test whether both pipelines return the same records as well as how long each takes. A faster expression that changes the result answers a different question.