jit.spill limit (use @zlmaxsize 10000)

sandcobainer~'s icon

So I was playing with jit.matrix and jit.spill and for some reason, inspite of using @listlength 10000 cuts off at 256.
I can't think of a valid reason. This used to have in 2006 according to the forums, but the limits have definitely gone up since then. Max patch: attached is a tiny generative visual using jit.matrix, jit. conway.

caproto.maxpat
Max Patch

Pedro Santos's icon

I think the problem is in the zl objects after jit.spill.
The zl objects, by default only process lists with up to 256 elements. You have to add the "@zlmaxsize 10000" attribute to every zl object.

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

tmhglnd's icon

Yes, or simply type the max listlength as first argument after zl: [zl 10000 len]

sandcobainer~'s icon

Ah, I should've looked at the zl objects. Or pretty much any memory based objects for increasing maxsize. [zl iter 20 @zlmaxsize 10000] works perfectly. Thank you!