performance difference between jit.submatrix & jit.matrix @usesrcdim 1?

Scott Fitzgerald's icon

I'm curious if there is any benefit to using a matrix with @usesrcdim
1 (named or otherwise) vs jit.submatrix.

I vaguely remember a question along these lines from a few years ago
but I can't find it in the archives.

if it makes a difference, these would ultimately be a few levels deep.

Thanks.
~s

Max Patch
Copy patch and select New From Clipboard in Max.

Rob Ramirez's icon

no experience here to relate, but this sounds like a perfect case for a quick speed test.

Alexandre's icon

jit.matrix seems at least 3 times more fast than jit.submatrix, see by yourself:

Max Patch
Copy patch and select New From Clipboard in Max.