Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Table does use gamecache, so it is slower than using arrays. But this doesn't really matter unless you're going to be doing hundreds of table operations every second.
To avoid creating a new thread: in my map I have several structs, basically one for each item-type. As I have about 50 item-types, I decided to use a table and use the item raw code as label, so I don't have to use a loop to go through an array.
no. there somehow still are those rumors, however, when i tested GC against accessing a global array (recently, using RtC), GC was about 5 to 10 times slower.
I personally use Table for just that: avoiding an O(n) search.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.