03.10.2010, 16:25
Quote:
Would it really?
With a global var the memory is always allocated, so no matter what PAWN is executing that string will be taking up memory. If it were in a function, only when that function is executing would the memory be used. PAWN only allocates enough memory for the biggest function + global vars, so you could potentially use more memory with a single global var. |