# Help in understanding efficiently handling multidimensional arrays

**URL:** <https://discourse.julialang.org/t/help-in-understanding-efficiently-handling-multidimensional-arrays/19512>\
**Category:** New to Julia\
**Created:** [January 11, 2019, 12:50pm UTC](https://discourse.julialang.org/t/help-in-understanding-efficiently-handling-multidimensional-arrays/19512 "2019-01-11T12:50:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Tusike](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tusike/32/36610_2.png) [@Tusike](https://discourse.julialang.org/u/Tusike)\
**Post date:** [January 11, 2019, 1:25pm UTC](https://discourse.julialang.org/t/help-in-understanding-efficiently-handling-multidimensional-arrays/19512/3 "2019-01-11T13:25:24Z")

</div>

Thanks for the help!

I considered a vector of matrices, but after some googling I found some [performance metrics](https://discourse.julialang.org/t/vector-of-matrices-vs-multidimensional-arrays/9602) indicating it is slower than using 3D arrays. (Speed is mostly what I care about for my use case, which is why I will probably avoid the view). I guess I could still try and see which performs better in my code.

Your third method is so far the cleanest and yet still efficient that I have now, though I remain hopeful that a similar syntax could get the efficiency of my third approach, which should still be the fastest.

---

_[View the full topic](https://discourse.julialang.org/t/help-in-understanding-efficiently-handling-multidimensional-arrays/19512)._
