TitanUtils_TableContainsIndex should simply lookup instead of iteration
Titan Panel is an AddOn for the MMORPG World of Warcraft
Brought to you by:
honorgog
Originally created by: rowaas...@gmail.com
TitanUtils_TableContainsIndex does unnecessary table iteration instead of simple lookup. Considering that it somehow runs 850 times on /reloadui, even on my Core i7 following simple patch shawed 1 second from reloading time. Rewrite this function as:
function TitanUtils_TableContainsIndex(table, index)
if (table and index and table[index] ~= nil) then
return index
end
end
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: urn...@gmail.com
Thanks for the suggestion - it is working for me. On to the test team...
Status: Testing
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: Honor...@gmail.com
Resolved in version 5.1.1.50001.
Status: Resolved