Which is the faster?

  • Videogamer555
    31st Dec 2011 Member 0 Permalink
    If I'm going to use a particular element number for a set of tasks, such as SPRK in my lua code, which is faster?

    calling tpt.el.sprk.id at each time I need to use it, or calling myvar=tpt.el.sprk.id and then using myvar whenever I need to refer to it.
  • devast8a
    31st Dec 2011 Former Staff 0 Permalink
    @Videogamer555 (View Post)
    Likely the latter.