View Single Post
Old 09-14-2009, 09:42 PM   #102
Themerion
Brahms-fan
 
Themerion's Avatar
 
Join Date: Jan 2006
Posts: 642

Submissions (2)

Themerion has a spectacular aura about (114)Themerion has a spectacular aura about (114)Themerion has a spectacular aura about (114)Themerion has a spectacular aura about (114)

Default

I've been thinking...
(oh no, not again!)

What's the performance cost of GroupEnumUnitsOfTypeCounted? You are using it for acquiring a unit from heaven of type X.

Let's say we have a group with 20 units * 20 types = 400 units. Will Warcraft manually check unit 1, unit 2, unit 3, etc...? If that's the case, wouldn't Hashing + (Linked lists OR groups) be a good alternative?

Expand JASS:
__________________
Submissions::
(v)JASS Tutorial
Covers how to make fast and safe coding for common tasks in vJASS/JASS.
Creep Respawn System
It has never been easier to respawn creep groups...
Themerion is offline   Reply With Quote