News for hackers. Stuff that matters.
Re:Efficient Jagged Arrays by jagged-chisel on Monday July 03, 2023 @08:03AM (#36571732)
in C++

This is the first time I've heard the term "jagged arrays." Is this common parlance and I'm just a hermit?

Re:Efficient Jagged Arrays by 3cats-in-a-coat on Monday July 03, 2023 @08:17AM (#36571842)
It's becoming common. You can also hear "jagged tensors". Alternatively "ragged".
Re:Efficient Jagged Arrays by MattPalmer1086 on Monday July 03, 2023 @08:07AM (#36571762)
I've heard the term before, but I have never needed to use jagged arrays.
Re:Efficient Jagged Arrays by morelisp on Monday July 03, 2023 @08:08AM (#36571770)
It is, although at both schools I went to "ragged arrays" was the more common term.

https://en.wikipedia.org/wiki/Jagged_array

I think to some degree it's fallen out of favor as this is the only kind of array you will ever see if you stick to, say, bootcamp-level Python and JavaScript.

Re:Efficient Jagged Arrays by ok123456 on Monday July 03, 2023 @08:46AM (#36572129)
It's common parlance in C# where the language has different syntax for dense and jagged arrays (i.e., A[i,j,k] vs A[i][j][k]).