issues
search
LoliKingdom
/
LoliASM
The lolis are now preparing to bytecode manipulate your game.
GNU Lesser General Public License v2.1
106
stars
23
forks
source link
Optimize updateAnimations iteration
#182
Closed
embeddedt
closed
1 year ago
embeddedt
commented
1 year ago
Use linked hash set so iteration time is dependent on size instead of capacity
Just iterate
queuedUVCoords
fully and then clear it, this is faster than removing items one by one
Populate
listAnimatedSprites
and iterate it instead of iterating over the entire texture map
Fixes #180
queuedUVCoords
fully and then clear it, this is faster than removing items one by onelistAnimatedSprites
and iterate it instead of iterating over the entire texture mapFixes #180