Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

how to find unoptimized expressions

General discussion about anything TouchDesigner

how to find unoptimized expressions

Postby nettoyeur » Fri Jul 19, 2019 6:02 am

wondering how I can find all unoptimized parameter expressions in a large network.
I don't see a member in the Par Class which shows if a parameter expression is optimized or not - is there a way to get this information?
Idzard Kwadijk | freelance TouchDesigner consultant | IdzArd.com
Checkout ChopChopChop.org - the TouchDesigner marketplace!
nettoyeur
 
Posts: 1151
Joined: Mon Oct 15, 2012 12:00 pm
Location: Amsterdam, The Netherlands

Re: how to find unoptimized expressions

Postby malcolm » Fri Jul 19, 2019 11:05 am

Hey,

There is no way to list them right now. In general you shouldn't need this though as have an unoptimized expression isn't inherently bad. It'll be slower than an optimized one, but the speed difference may be negligible depending on how many of those copies of the expressions are running each frame
User avatar
malcolm
Staff
 
Posts: 4396
Joined: Tue Nov 13, 2007 1:11 am

Re: how to find unoptimized expressions

Postby nettoyeur » Fri Jul 19, 2019 11:14 am

in my case the network is that large that an optimization of all nodes which are cooking continuously with unoptimized expressions would be beneficial. (speed difference is for instance 0.090 to 0.010 for a single node, if you have a lot of those nodes buried in the network it adds up).
But I can totally imagine adding reporting for this (so for instance I could find them with the findChildren method) would make everything slower overall, so the cure would be worse than the cause?
Idzard Kwadijk | freelance TouchDesigner consultant | IdzArd.com
Checkout ChopChopChop.org - the TouchDesigner marketplace!
nettoyeur
 
Posts: 1151
Joined: Mon Oct 15, 2012 12:00 pm
Location: Amsterdam, The Netherlands


Return to General TouchDesigner Discussion

Who is online

Users browsing this forum: No registered users and 15 guests