I assume @ syntax is not multi-threaded regardless of looking like Wrangle VEX code?
Is one faster than the other or is it just for unification?
Is it also backwards compatible with pre-H15 releases?
Cheers,
pusat
Is @ syntax faster than $ in parameter fields?
1731 4 1- animatrix_
- Member
- 4523 posts
- Joined: Feb. 2012
- Online
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- jerry7
- Member
- 623 posts
- Joined: Nov. 2013
- Offline
- neil_math_comp
- Member
- 1743 posts
- Joined: March 2012
- Offline
jerry7Could you be more specific about what you tested, in case there's an issue? I'm mildly skeptical, but there might be something unforseen at play.
I tested using Attribute Create Sop, @ is little slower than $.
Is it also backwards compatible with pre-H15 releases?The @ syntax for local variables is only in H15.
I assume @ syntax is not multi-threaded regardless of looking like Wrangle VEX code?Local variable expressions cannot be multi-threaded. There's currently a single “current point”, “current primitive”, and “current vertex” variable for SOP expression evaluation, so there can't be expression evaluations for multiple elements at the same time.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
- animatrix_
- Member
- 4523 posts
- Joined: Feb. 2012
- Online
Thanks guys.
That was my guess as well, it makes things nicer so I am all for using it.
ndicksonIs it also backwards compatible with pre-H15 releases?The @ syntax for local variables is only in H15.I assume @ syntax is not multi-threaded regardless of looking like Wrangle VEX code?Local variable expressions cannot be multi-threaded. There's currently a single “current point”, “current primitive”, and “current vertex” variable for SOP expression evaluation, so there can't be expression evaluations for multiple elements at the same time.
That was my guess as well, it makes things nicer so I am all for using it.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- jerry7
- Member
- 623 posts
- Joined: Nov. 2013
- Offline
-
- Quick Links