VEX operator type vs Point Wrangle performance

   2780   2   1
User Avatar
Member
96 posts
Joined: May 2008
Offline
Hi,

I'm curious if anyone has tested this yet… ignoring the vex specific differences (context etc), is there any speed difference between creating a new VEX operator type and the same vex code in a point wrangle node? Or do they both compile to basically the same thing _and_ are executed the same way? Or this there some overhead to the one or the other?

Cheers
Michael
User Avatar
Member
4262 posts
Joined: July 2005
Offline
Nope, it more or less compiles down into the same thing.

If you go inside the point wrangler and into vop sop, you can right click and select “View Code”. More or less the same thing as you would type yourself.
if(coffees<2,round(float),float)
User Avatar
Member
96 posts
Joined: May 2008
Offline
Thanks. I figured it would be like that, I just wasn't sure (like, I know that wrangle nodes are running multi-threaded, but wasn't sure about vex operators).
  • Quick Links