XML Feeds

.

[jitter] Problems with speed of patch using Expr and Matrix

Wesley Smith wesley.hoke at gmail.com
Wed Aug 1 09:24:20 MDT 2007


It's not creating a new matrix that's the problem, it's more than
likely the speed of jit.expr's evaluation.  It's not a fast object by
its very nature, especially if you have decently sized exressions.  If
you have a fixed number of expressions, I would recommend building an
optimized pipeline for each and switching between those.  If you're
using JAVA than this is fairly easy to do because you can make a
function for each expression and switch between them based on a
parameter.

wes

On 8/1/07, Carl Knott <carl.knott at gmail.com> wrote:
> Okay, I've looked at my patch again and it is not the 'virtual sand' that I orignally thought was the problem.
>
> [img]index.php?t=getfile&id=777&private=0[/img]
>
> I have 20 or so formula's in a java external. They are selected using values, n and m in inlet 2 and 3 - no processing at all. The selected formula is passed out of the outlet into jit.expr. As the formula is be passed into jit.expr it starts a bang, where a new matrix is also passed into jit.expr. If I scroll through the values n/m I get lots of slow down! I'm sure it has something to do with creating a new matrix for each expr! Though I dont know a better approach? Any ideas?
>
> Thanks.
>
>
>
> _______________________________________________
> jitter mailing list
> jitter at cycling74.com
> http://www.cycling74.com/mailman/listinfo/jitter
>
>
>


More information about the jitter mailing list