pragma dynamic
#1

Hi, actually I didn't know what to call the thread, but I had to use pragma dynamic like two days ago after adding a few hundreds lines of code because some things stopped working and this appeared after compiling:
Код:
Header size:          12368 bytes
Code size:           741164 bytes
Data size:         11006392 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4924 cells (19696 bytes)
Total requirements:11776308 bytes
So I started thinking of optimizing my code, but I don't know what could cause that stuff. I heard it's caused by some large arrays, but I always get a proper size for local arrays so I don't think it could be the problem. But I have some bigger global arrays (I think they are big) like
Код:
new Injuries[MAX_PLAYERS][39][MAX_BODY_PARTS];
but I can't remove them. Anyways what could the reasons be? I tried googling and looking at the optimization tutorials as well.
Reply


Messages In This Thread
pragma dynamic - by GoldenLion - 26.02.2017, 12:55
Re: pragma dynamic - by Hansrutger - 26.02.2017, 13:00
Re: pragma dynamic - by Unte99 - 26.02.2017, 13:19
Re: pragma dynamic - by GoldenLion - 26.02.2017, 13:19
Re: pragma dynamic - by Unte99 - 26.02.2017, 13:30
Re: pragma dynamic - by GoldenLion - 26.02.2017, 13:35
Re: pragma dynamic - by Hansrutger - 26.02.2017, 13:43
Re: pragma dynamic - by GoldenLion - 26.02.2017, 13:54
Re: pragma dynamic - by OneDay - 26.02.2017, 13:55
Re: pragma dynamic - by Pottus - 26.02.2017, 14:03

Forum Jump:


Users browsing this thread: 2 Guest(s)