1. If you use the addon local table you won't face the possibility of trampling over someone elses global so, method 1.
2. Historically the word has been don't use select, ever, if at all avoidable. While I would avoid (until there's some definitive proof otherwise) using it in repetative situations like for loops, OnUpdate etc. it's not going to kill your addon if it gets called occaisionally.
|