Quick question: would it be more efficient for a script that is executed lots of times per second to get data with…

Quick question: would it be more efficient for a script that is executed lots of times per second to get data with script.getTag() each time or to only do this once, save it to this.valueName and get it from that each time. (The data doesn’t change between script executions, and the tag would only be set once)

Might sound kinda stupid, but just to be sure…

]]>
« (Previous Post)

2 Commentsto Quick question: would it be more efficient for a script that is executed lots of times per second to get data with…

  1. Anonymous says:

    < ![CDATA[

    There should be no difference. Both methods just read a value which is already loaded into the RAM

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Ok thanks :).

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *