Question about vars..
#1

What is better/faster

pawn Код:
enum pVar
{
    Skill,
    Score,
   //etc...
}
new pInfo[pVar][MAX_PLAYERS]
OR..

pawn Код:
new Skill[MAX_PLAYERS];
new Score[MAX_PLAYERS];
//etc...
Thanks
Reply
#2

I don't think either are faster than the other. (I ain't sure) However, I suggest using PVars, as they may be slower, but a lot more optimized!
Reply
#3

pVars are slower than normal variables, but i use normal variabes because their shorter and easier (in my eyes) to use xd
Reply
#4

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
pVars are slower than normal variables, but i use normal variabes because their shorter and easier (in my eyes) to use xd
Yep, I like normal variables too, because they are shorter :P

Still, wich one is best?

I think they are the same..
Reply
#5

They are same, how many peoples so many answers
Reply
#6

Quote:
Originally Posted by Voldemort
Посмотреть сообщение
They are same, how many peoples so many answers
Theres a topic that proves that normal variables are faster than pVars
Reply
#7

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
Theres a topic that proves that normal variables are faster than pVars
We talk about who is best not faster, so here everyone will suggest that what they use.
Reply
#8

You all went off topic. Read his main post. He didn't say anything about the PVar system. I simply mentioned it as a more optimized alternative.
Reply
#9

Anyway, I think that they are the same (main post).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)