It is likely because the ranges are not UnitRanges.
On Friday, July 29, 2016 at 5:35:57 AM UTC-4, Andreas Lobinger wrote: > > Hello colleague, > > On Friday, July 29, 2016 at 8:59:36 AM UTC+2, Juan Lopez wrote: >> >> Hello, >> >> I have a function which is doing basically an operation inside a loop and >> when adding @simd or @inbounds time doesn't improve, in any case it seems >> slightly worse. >> > > >> Is there an explanation for this? Thank you >> > > there is a non-vanishing propability, that the plain loop is already > compiled to the optimal code. Maybe you try to look at the lowered code. > > >
