cognate icon indicating copy to clipboard operation
cognate copied to clipboard

chance to optimize

Open dragoncoder047 opened this issue 10 months ago • 1 comments

Don't know how good your optimizer is, but you don't need to implement all of >, <, >=, <= in C. You just need > and == and the rest come from that:

Def < as (> Swap);
Def <= as (Let A; Let B; Or < A B == A B);
Def >= as (<= Swap);

(Did I implement them correctly?)

dragoncoder047 avatar Jan 24 '25 01:01 dragoncoder047

Oh yeah that'd work, although I doubt it would have any affect on performance.

StavromulaBeta avatar Jan 24 '25 14:01 StavromulaBeta