packed string +Rep
#4

Quote:
Originally Posted by TakeiT
Посмотреть сообщение
All you do is add the word char
Код:
new string[2000 char]
now uses 500 bytes instead of 2000

https://sampforum.blast.hk/showthread.php?tid=480529
Ma bad, as a C++ developer i wasn't aware of packed strings in pawn, until i read your topic, it's probably like pawn performs operations on the bit level to save space instead on C++ we use bitwise operators to work on bit patterns, thanks peace.
Reply


Messages In This Thread
packed string +Rep - by iBots - 23.04.2015, 11:16
Re: packed string +Rep - by AberKane - 23.04.2015, 15:15
Re: packed string +Rep - by TakeiT - 23.04.2015, 17:17
Re: packed string +Rep - by AberKane - 23.04.2015, 17:24

Forum Jump:


Users browsing this thread: 1 Guest(s)