• calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 month 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.