Partial evaluation of scan
computation evaluates loop counter at compile time
#3108
Labels
bug
Something isn't working
Repro, derived from #3076
This code appears to evaluate 3 loops: one at compile time, and one for each of the
pv
instances. The compile-time loop appears pointless and wasteful. After optimization it boils down to:which is a loop that roughly paraphrases in Python as:
We believe an upcoming change to how
jit
computations are staged out of Python will fix this.The text was updated successfully, but these errors were encountered: