Reply To: Direct Access

Forums 💬 NodeCanvas 🗨️ General Discussion Direct Access Reply To: Direct Access

#14858
Gavalakis
Keymaster

    Hello,

    Indeed, I recommend the GetDataValue(string) in the documentation as it is more easy to understand and use, but if you are going to call this much frequently then it is better and fine to cache the VariableData with GetData(string, Type).
    This is also what’s happening under the hood in NC for the obvious performance reasons 🙂

    Cheers!