JPDev@programming.dev to Programmer Humor@programming.dev · edit-26 months agoDo you know who can help?programming.devexternal-linkmessage-square16fedilinkarrow-up1278
arrow-up1278external-linkDo you know who can help?programming.devJPDev@programming.dev to Programmer Humor@programming.dev · edit-26 months agomessage-square16fedilink
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up5·6 months agoIf 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.
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.