Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [15:26:02] <flexd> yea?
- [15:26:10] <@Telroth> ace just wasted ~20bytes
- [15:26:14] <@Telroth> seems small
- [15:26:28] <@Telroth> but if you think about every registration from every addon
- [15:26:51] <@Telroth> actually, those are strings
- [15:27:01] <@Telroth> ~36ish bytes
- [15:27:18] <@Telroth> I wouldn't worry about it now and just learn the lua and WoW API
- [15:27:28] <@Telroth> but stuff to think about when you come back and revise the addon
- [15:27:40] * Sun7zu (~Sun7zu@95.130.71.60) Quit (*.net *.split)
- [15:27:40] * Safturento (~safturent@c-98-200-148-238.hsd1.tx.comcast.net) Quit (*.net *.split)
- [15:28:04] * @[Eclipse][SC2] (~Hidd3n@5ac03b7a.bb.sky.com) Quit (*.net *.split)
- [15:28:14] * Tukz[OFF-BNC] (~tukz@srv475.sd-france.net) Quit (*.net *.split)
- [15:28:37] * [Eclipse][SC2] (~Hidd3n@5ac03b7a.bb.sky.com) has joined #TukUI
- [15:28:37] * Sun7zu (~Sun7zu@95.130.71.60) has joined #TukUI
- [15:28:37] * Safturento (~safturent@c-98-200-148-238.hsd1.tx.comcast.net) has joined #TukUI
- [15:28:37] * Tukz[OFF-BNC] (~tukz@srv475.sd-france.net) has joined #TukUI
- [15:28:37] * zelazny.freenode.net sets mode: +o [Eclipse][SC2]
- [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
- [15:29:03] <@Telroth> granted, ace doesn't leak the memory, the GC eventually picks it up
- [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.
- [15:29:59] * Sun7zu (~Sun7zu@95.130.71.60) Quit (*.net *.split)
- [15:29:59] * Safturento (~safturent@c-98-200-148-238.hsd1.tx.comcast.net) Quit (*.net *.split)
- [15:30:01] <@Telroth> So. Tidbits to think about :3
- [15:30:25] * Tukz[OFF-BNC] (~tukz@srv475.sd-france.net) Quit (*.net *.split)
- [15:30:42] * Sun7zu (~Sun7zu@95.130.71.60) has joined #TukUI
- [15:30:42] * Safturento (~safturent@c-98-200-148-238.hsd1.tx.comcast.net) has joined #TukUI
- [15:30:42] * Tukz[OFF-BNC] (~tukz@srv475.sd-france.net) has joined #TukUI
- [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 :)
- [15:33:19] <flexd> How could that have been done without a table ?
- [15:33:19] * flexd (flexd@evsco.net) Quit (Excess Flood)
- [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!
- [15:33:31] * flexd (flexd@evsco.net) has joined #TukUI
- [15:33:38] * XqzN (~Pederseen@0x5da1e677.fhnqu1.dynamic.dsl.tele.dk) Quit (Ping timeout: 382 seconds)
- [15:33:51] <flexd> uh could you repeat that ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement