dplassgit/d2lang

Don't do index checks for obvious constants

Closed this issue · 1 comments

Don't do index checks for obvious constants

It's not often this occurs, because the ILCodeGenerator generates very inefficient code, so something like a[0] is actually temp=0 check temp for >=0, a[temp]