Announcement

Collapse
No announcement yet.

Is using one variable node for a multiple functions slower? [CLOSED]

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Perfect! Thank you, I had seen somewhere that it was slower but really just wanted to double check.

    Leave a comment:


  • replied
    What matters are "Exec" pins.
    Connected inputs are the same on both examples even though visually they look different.

    Leave a comment:


  • replied
    I don't believe it's slower or faster. It's just a matter of how clean you want your code to be. I prefer to use single get nodes because it typically is easier to read and results in less spaghetti.

    Leave a comment:


  • replied
    Tyler Andrew The variable would only be access when a function runs. So in your example, the variable is only accessed when one of the functions is called.

    Leave a comment:


  • Is using one variable node for a multiple functions slower? [CLOSED]

    Is using a single get variable node for multiple functions slower than using a single get variable node for a single function?


    To be more specific:

    I was curious, if when using a single get variable node for multiple functions, does the get variable node have to check each function that it is attached to when one of the connected functions is called. So when you call Function One, does the get variable node ("multiple" on the left) check Function Two, and Function Three. Subsequently, when you call Function Two, will the get variable node check Function One, and Function Three. And, when you call Function Three, is it checking Function One, and Two.


    Thank you for your time
Working...
X