SA-MP Forums Archive
Compiling - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Compiling (/showthread.php?tid=452667)



Compiling - edzis84 - 22.07.2013

Im using pawno and i have problem with compiling time, it takes like 2 minutes!

Is there any way to fix it?

32k lines.


Re: Compiling - Red_Dragon. - 22.07.2013

What do you mean by 'too much'? Some C++ projects take hours (or even larger units) to build.


Re: Compiling - Rufio - 22.07.2013

Buy a new computer or wait for compiler. Scripting needs patience.


Re: Compiling - RajatPawar - 22.07.2013

It does that, PAWNO. Try including the whole YSI and it would take the same time, around (or more) to compile. Try reducing the resources your script use (if avoidable) like useless string memory allocation (allocating 256 to a string while you can use 128, etc). There's a whole memory management topic created by ****** for this, AFAIK.


Re: Compiling - IceCube! - 22.07.2013

Patience as said above, think yourself lucky its not C++ previous C++ projects have taken 30 minutes for a complete new build and 12 minutes to update the build. You have to wait 2 minutes, I like to call it "The Programmers Tea Break!"