
7 Dec
2024
7 Dec
'24
3:17 a.m.
Common span win. I knew that was the case, but I was replying from the perspective of the argument "I don't trust optimisers". In practice, yes, compilers are much different these days, and the more information can be inferred about any given operation, the better the chances of optimisations to be very effective in shedding dead weight. There's a whole debate around bound checks because of that, and the trend is that these types of optimisations will continue to improve going forward, as the demand for bound checks elision increases. Claudio.