Advertisement
Guest User

Untitled

a guest
Jun 7th, 2017
563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.80 KB | None | 0 0
  1. [15:26:02] <flexd> yea?
  2. [15:26:10] <@Telroth> ace just wasted ~20bytes
  3. [15:26:14] <@Telroth> seems small
  4. [15:26:28] <@Telroth> but if you think about every registration from every addon
  5. [15:26:51] <@Telroth> actually, those are strings
  6. [15:27:01] <@Telroth> ~36ish bytes
  7. [15:27:18] <@Telroth> I wouldn't worry about it now and just learn the lua and WoW API
  8. [15:27:28] <@Telroth> but stuff to think about when you come back and revise the addon
  9. [15:27:40] * Sun7zu (~Sun7zu@95.130.71.60) Quit (*.net *.split)
  10. [15:27:40] * Safturento (~safturent@c-98-200-148-238.hsd1.tx.comcast.net) Quit (*.net *.split)
  11. [15:28:04] * @[Eclipse][SC2] (~Hidd3n@5ac03b7a.bb.sky.com) Quit (*.net *.split)
  12. [15:28:14] * Tukz[OFF-BNC] (~tukz@srv475.sd-france.net) Quit (*.net *.split)
  13. [15:28:37] * [Eclipse][SC2] (~Hidd3n@5ac03b7a.bb.sky.com) has joined #TukUI
  14. [15:28:37] * Sun7zu (~Sun7zu@95.130.71.60) has joined #TukUI
  15. [15:28:37] * Safturento (~safturent@c-98-200-148-238.hsd1.tx.comcast.net) has joined #TukUI
  16. [15:28:37] * Tukz[OFF-BNC] (~tukz@srv475.sd-france.net) has joined #TukUI
  17. [15:28:37] * zelazny.freenode.net sets mode: +o [Eclipse][SC2]
  18. [15:28:48] <@Telroth> one thing you'll note is almost every table allocation is either a static variable that is used repeatedly (backdrop in Skin_TelUI.lua, for example), or comes from my memory manager to help keep memory down
  19. [15:29:03] <@Telroth> granted, ace doesn't leak the memory, the GC eventually picks it up
  20. [15:29:32] <@Telroth> but it's still the whole "my memory usage drops by 20MB when I run the garbage collector" thing. That just shouldn't happen.
  21. [15:29:59] * Sun7zu (~Sun7zu@95.130.71.60) Quit (*.net *.split)
  22. [15:29:59] * Safturento (~safturent@c-98-200-148-238.hsd1.tx.comcast.net) Quit (*.net *.split)
  23. [15:30:01] <@Telroth> So. Tidbits to think about :3
  24. [15:30:25] * Tukz[OFF-BNC] (~tukz@srv475.sd-france.net) Quit (*.net *.split)
  25. [15:30:42] * Sun7zu (~Sun7zu@95.130.71.60) has joined #TukUI
  26. [15:30:42] * Safturento (~safturent@c-98-200-148-238.hsd1.tx.comcast.net) has joined #TukUI
  27. [15:30:42] * Tukz[OFF-BNC] (~tukz@srv475.sd-france.net) has joined #TukUI
  28. [15:31:01] <@Telroth> And just to be clear, I have no problem with you looking at my code as a base or guide for writing your own, just don't copy blocks and then change a few things :)
  29. [15:33:19] <flexd> How could that have been done without a table ?
  30. [15:33:19] * flexd (flexd@evsco.net) Quit (Excess Flood)
  31. [15:33:22] -tomaw- [Global Notice] Hi, as you're no doubt aware some of our equipment is having connectivity issues.  We're looking to resolve this presently.  Appologies for the noise and thanks for using freenode!
  32. [15:33:31] * flexd (flexd@evsco.net) has joined #TukUI
  33. [15:33:38] * XqzN (~Pederseen@0x5da1e677.fhnqu1.dynamic.dsl.tele.dk) Quit (Ping timeout: 382 seconds)
  34. [15:33:51] <flexd> uh could you repeat that ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement