aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/schema/expressiontransforms/BooleanExpressionTransformerTestCase.java
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrightJon Bratseth2023-10-091-1/+1
|
* Optimize importsHarald Musum2022-10-241-2/+0
|
* Revert "Merge pull request #24279 from ↵Jon Bratseth2022-10-031-26/+42
| | | | | | | vespa-engine/jonmv/revert-GC-heaven-commits" This reverts commit 539f2871e4812a463aa108639aac66c4903f3c33, reversing changes made to aeaa3c2da60259a8ba80345591657922c90c1993.
* Revert "Merge pull request #24257 from ↵jonmv2022-10-021-42/+26
| | | | | | | vespa-engine/bratseth/boolean-optimize-primitives-only" This reverts commit 4a1ca594e4cf3810974696ce970f5a161ec099eb, reversing changes made to 62928f4d8b7571c4b10fedffc56b762f57b6b2ca.
* Only optimize boolean expressions on primitivesJon Bratseth2022-09-291-26/+42
| | | | | | Only transform a && b to if(a, b, false) etc.0 if both a and b are primitives, not tensors, as if requires both branches to return the same type.
* Drop 'arithmetic' from nameJon Bratseth2022-09-281-3/+3
|
* Actually use the generated contextHenning Baldersheim2022-09-211-2/+2
|
* Put back old unused test code.Henning Baldersheim2022-09-211-0/+8
|
* Use ArithmeticNode.resolve instead of creating a new one explicit.Henning Baldersheim2022-09-211-9/+36
|
* Short circuit boolean expressionsJon Bratseth2022-09-211-0/+57
| | | | | | | | Short circuit boolean expressions by converting them to (nested) if expressions. This also fixes a bug in Java expression evaluation where evaluation of arithmetic operations with the same precedence would be from right to left rather than left to right.
* Revert "Revert "Revert "Short circuit boolean expressions"""Henning Baldersheim2022-09-211-57/+0
|
* Revert "Revert "Short circuit boolean expressions""Henning Baldersheim2022-09-211-0/+57
|
* Revert "Short circuit boolean expressions"Arnstein Ressem2022-09-201-57/+0
|
* Short circuit boolean expressionsJon Bratseth2022-09-201-0/+57
Short circuit boolean expressions by converting them to (nested) if expressions. This also fixes a bug in Java expression evaluation where evaluation of arithmetic operations with the same precedence would be from right to left rather than left to right.