Is there a way to mark while
as non divergent?
#799
-
Consider the following code to compare two vectors: var i := some_end
var j := some_other_end
while { (i >= some_start) && (data.at(i) == other_data.at(j)) }
i := i - 1
j := j - 1
...
One solution might be to re-implement Another solution is to use |
Beta Was this translation helpful? Give feedback.
Answered by
TimWhiting
Aug 30, 2025
Replies: 1 comment 1 reply
-
Use, pretend-no-div: Line 24 in 0bee513 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ov7a
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use, pretend-no-div:
koka/lib/std/core/undiv.kk
Line 24 in 0bee513