JuliaAcademy / JuliaTutorials

Learn Julia via interactive tutorials!
https://julialang.org/learning/
MIT License
1.26k stars 657 forks source link

Modify 04. Loops.ipynb in order to reflect "correct" indexing order #52

Closed ghost closed 4 years ago

ghost commented 4 years ago

I think that https://github.com/JuliaComputing/JuliaBoxTutorials/blob/master/introductory-tutorials/intro-to-julia/04.%20Loops.ipynb should be adjusted to reverse the indexing order in the section for loops.

Maybe a brief note to the performance reasons behind this and a link to https://docs.julialang.org/en/v1/manual/performance-tips/#Access-arrays-in-memory-order,-along-columns-1 would be nice as well.

NHDaly commented 4 years ago

Makes sense to me. Could you please send a PR with that suggestion? :) Thanks!