Creating 100 SecureActionButtons -> Lag
Hi,
I want to use a bunch (100+) of SecureActionButtons in the result list of my addon (https://github.com/endymonium/keystrokelauncher). BUT that takes some time (~0.5s for 100) and they do not seem to be cached. Even through I understood that Ace3 has a frame pool build in and is already doing some kind of caching. Here is the Ace3 widget: https://github.com/endymonium/keystr...tionButton.lua Here is where I use that: https://github.com/endymonium/keystr.../Core.lua#L817 Any ideas how to solve this? Is there any other frame object which allows me to execute spells when I click on it? Thanks, Jan |
Lua Code:
My personal solution to generating/setting up a crap ton of frames is to use a coroutine that yields after a couple of frames, which gives the appearance of the data loading in chunks. It was the only way I could get it to not stall the game because of the large quantity of frames used for this particular use case. |
All times are GMT -6. The time now is 09:47 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI