Files
turso/core
Jussi Saurio 03cb84ef30 Merge 'expr: use more efficient implementation for binary condition exprs' from Jussi Saurio
Closes #2946
currently we always evaluate the binary expression, then coerce it to
zero/null with the `ZeroOrNull` instruction, and then emit a separate
jump.
this is fine for non-conditional expressions where we are using the
value itself (e.g. in a SELECT result column), but in conditionals we
don't care about that at all and just want to either jump or not jump.
so: try to keep the spirit of code reuse, but still have distinct
implementations for conditionals and non-conditionals.

Reviewed-by: Preston Thorpe <preston@turso.tech>

Closes #2947
2025-09-08 09:46:42 +03:00
..
2025-09-05 14:56:05 -04:00
2025-09-02 18:25:20 +07:00
2025-09-05 14:56:09 -04:00
2025-09-05 03:07:38 -03:00
2025-09-07 19:56:06 +04:00
2025-06-30 10:01:03 +03:00
2025-09-06 17:51:15 +03:00
2025-09-07 20:08:10 +04:00
2025-08-15 17:08:53 -04:00
2025-01-28 14:55:38 -05:00
2025-09-01 11:11:25 -03:00
2025-06-23 19:52:13 +01:00
2025-08-30 03:10:39 -03:00
2025-01-28 14:55:38 -05:00
2025-06-23 19:52:13 +01:00
2025-09-07 19:55:42 +04:00
2025-06-30 09:54:13 +03:00
2025-09-05 14:56:09 -04:00