PVars or regular memory?
#1

Which of the above is faster?

Thanks.
Reply
#2

PVars are slower than variables.
Reply
#3

Quote:
Originally Posted by admantis
Посмотреть сообщение
PVars are slower than variables.
I actually thought it was the other way around.
Reply
#4

Yes but it's just a fact of milliseconds, not really very important. Thought I dont use PVars, I heard their easier to use.

This forum requires that you wait 60 seconds between posts. Please try again in 10 seconds.
GTFO
Reply
#5

I prefer PVars, they're easier to use and less to worry about.
pawn Код:
SetPVarInt(playerid,"test",1);
printf("test: %d",GetPVarInt(playerid,"test"));
it still going to be really fast, you won't actually notice the difference
Reply
#6

Variables are faster, but PVars are more memory efficient and seem easier to use.
Reply
#7

I prefer variables. PVars sucking for me.
Reply
#8

I only use PVars for cross scripts. I prefer normal variables
Reply
#9

So... is there any meaningful difference in speed PVars vs. Variables?

Because my gamemode is 60% PVars and if their are slow, i would change them to normal ones.
Reply
#10

Quote:
Originally Posted by Whizion
Посмотреть сообщение
So... is there any meaningful difference in speed PVars vs. Variables?

Because my gamemode is 60% PVars and if their are slow, i would change them to normal ones.
The difference is very small, don't worry, there's no need
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)