You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Non +/- 1 stepped for ranges still compile to an enumerator loop #4839
Why it's not done yet: Fable.ForLoop only encodes ±1 (i++/i--). A general constant step needs either a capture-safe while lowering (non-breaking, some care for #4031) or a step field on ForLoop (breaks Fable.AST → major version).
Note a runtime step can't be a counted loop at all (direction unknown at compile time).
Non +/- 1 constant steps are rare and the runtime win is small.
Activity