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?
2363 4 1-
- animatrix_
- Member
- 5104 posts
- Joined: 2月 2012
- オフライン
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
-
- jerry7
- Member
- 680 posts
- Joined: 11月 2013
- オフライン
-
- neil_math_comp
- Member
- 1743 posts
- Joined: 3月 2012
- オフライン
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
- 5104 posts
- Joined: 2月 2012
- オフライン
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] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
-
- jerry7
- Member
- 680 posts
- Joined: 11月 2013
- オフライン
-
- Quick Links

