Advantages/Disadvantages of using one string.
#7

Not a lot of people running such a massive script have a hundred players or so to be for sure.

My main question is to how pawn functions. On top of a lot of callbacks being called, one can only expect a problem to arise when using one string for so many commands


EDIT

Quote:
Originally Posted by Vince
Посмотреть сообщение
Pawn is single threaded, which means that actions are executed one after the other. As long as you output the string right after you formatted it, there shouldn't be a problem. Yet I wonder why people are so obsessed with memory. Servers nowadays have several gigabytes of RAM. A sa-mp server will maybe use 100 megabytes at most.
That's what I was looking for, thank you. I'm not too worried about memory though, memory is not much of an issue on modern machines, just mainly concerned on optimization. I found it cool that some could compile a large mode in mere second. Learned something new today.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)