• calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      4 months ago

      If you do it with fixed-size arrays you can accomplish multi-dimension with just int*. Lots of pointer arithmetic needed though. Probably still faster than n levels of indirection.