3 ms·
The problem in this case (as with most issues regarding `@inbounds`) is that this text was written before arrays with non-standard indices existed in Julia. So
by nalimilan 4y ago
The problem in this case (as with most issues regarding `@inbounds`) is that this text was written before arrays with non-standard indices existed in Julia. So the example was correct at the time it was written, just like the StatsBase code was correct. Old code needs careful checking to fix all these occurrences.
- nightpool 4y agoDiscussed in a sibling thread: https://news.ycombinator.com/item?id=31401155 https://news.ycombinator.com/item?id=31401155.