title: Ordering of array dimensions
body: <p>Given the following code:</p>
  
  <pre><code>integer, parameter :: n = 10000
  integer, parameter :: m = 3
  
  real, dimension(:,:), allocatable :: arr
  
  ! First way
  allocate(arr(n,m))
  
  ! Second way
  allocate(arr(m,n))
  </code></pre>
  
  <p>What is the "best" way to allocate <code>arr</code> when there is a large difference in the two dimensions, the first way or the second way? Does it matter, or is it something that is strongly dependent on how <code>arr</code> will be used?</p>