Threat

Threat

29.4k Downloads

Performance

mscv opened this issue ยท 1 comments

commented

Throwing this together as one issue, since most of it is small.

  1. map globals to upvalues
  2. set references to most commonly used forms and use them instead of wnd:FindChild()
  3. possibly limit the number of bars created?
  4. the most important: do not destroy and recreate forms on each update! it's very costly and in your use case you can just reset bar values and hide them if they aren't needed.
commented

Let's see here, tons of feedback to look at:

  1. Yeah, this is on my todo list already.
  2. I will look into this. I do not like seeing that many FindChild calls either.
  3. Yes, this is also something on my todo list.
  4. Also something I've been planning on.