I seem to have the array option for local variables, but not for parameters (using a unit variable) - is there any reason for this? or a workaround? or am I just doing it wrong?
If the array was in global memory, there wouldn't be much need to pass it as a parameter - not sure I understand what you mean by "deeper in the stack", but lets say I have a function foo which currently takes two units as a parameter - I want to change it to take a unit[2] instead (to make it prettier) - is there any way to do so? (OK, it's a bit uglier in my case than a single unit[2], but you get the idea)
The galaxy version should still work, that post is unrelated. By the way, you can always use the old 2d array tricks. You could look at the generated code of jasshelper for the dynamic arrays if you're not sure about the details, but it's really just using a global 2d array... I'm pretty sure that this can also be done in GUI.
EDIT: The performance should be about on the same level. In one case you might have the compiler initializing the array when allocate it on the stack, in the other case you have some more loads abd arithmetic (loading the base address of the 2d array, adding the index from the variable). Depending on whether you want to keep references around or just pass them as you described, you might have to add some free list to manage the references which are being in use - slightly more code and performance overhead. Either way, don't worry about it too much and don't expect a slowdown greater than 2x. Struct usage in JASS was worse (+OP Limit and slow speed of JASS), and no one ever had problems with it.
It's just less beautiful and practical (in that it limits your recursion depth and requires you to have a huge portion of the memory in stand-by mode).
I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.