25.01.2011, 23:38
PVars are slower than normal variables/arrays, but consume more memory depending on the operation, seeing as PVars do not allow you to allocate a static amount of memory.
Seeing as how 1 cell / a variable with only 1 cell consumes only 4 bytes of memory, I'd say that you're fine with either option, especially as PVars aren't that much slower.
PVars are also a lot more convenient as they reset when a player connects, but I personally use arrays/normal variables.
Seeing as how 1 cell / a variable with only 1 cell consumes only 4 bytes of memory, I'd say that you're fine with either option, especially as PVars aren't that much slower.
PVars are also a lot more convenient as they reset when a player connects, but I personally use arrays/normal variables.