Join Slack
Powered by
Was `for (x in a until b)` ever optimized by compi...
# getting-started
m
miha-x64
04/17/2017, 7:12 PM
Was
for (x in a until b)
ever optimized by compiler?
i
ilya.gorbunov
04/17/2017, 7:27 PM
No, it's yet to be optimized
s
sreich
04/17/2017, 7:40 PM
Wait, what? That combination is valid? What are some valid usages of that?
m
miha-x64
04/17/2017, 8:25 PM
Ilya, thank you. For some reason I thought it is optimized and beacme broken in EAP 🙂 Shaun,
for (i in 0 until size)
is equivalent of
for (i in 0 .. size-1)
.
3
Views
Open in Slack
Previous
Next