SA-MP Forums Archive
Speeding up Pawno Compiler. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Speeding up Pawno Compiler. (/showthread.php?tid=288567)



Speeding up Pawno Compiler. - Danny - 08.10.2011

Hi,

I noticed a remarkable compiler-speed difference between my laptop and my mother's new desktop. Because my laptop broke down, i used her desktop for some time. On my laptop, the Pawn Compiler takes ~ 40 seconds to compile my ~ 15000 line script. (most part is in includes) On my mom's PC, it takes 1-2 seconds with exactly the same script. That's really weird. How i can gain more compiler speed? I use CCleaner to keep my PC clean and to get back some speed, but that won't work for the compiler.

Tips, anyone?

Greetz,
Danny


Re: Speeding up Pawno Compiler. - FireCat - 08.10.2011

Download another compiler (:
https://sampwiki.blast.hk/wiki/Scripting_Editors


Re: Speeding up Pawno Compiler. - Hiddos - 08.10.2011

Quote:
Originally Posted by FireCat
Посмотреть сообщение
That doesn't influence compiling speed at all, as it's just the editor, not the compiler.

Running a lot of background programs?


Re: Speeding up Pawno Compiler. - Danny - 08.10.2011

Quote:
Originally Posted by FireCat
Посмотреть сообщение
I want to keep using Pawno if possible.

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
That doesn't influence compiling speed at all, as it's just the editor, not the compiler.

Running a lot of background programs?
Just the usual virus scanners and stuff. Sometimes WAMPserver.

EDIT: I did a test, and the average compiling time is 40 second. That's much, much worser than i thought it was.


Re: Speeding up Pawno Compiler. - saiberfun - 08.10.2011

Well maybe there is a difference between the hardware, which makes either one faster?
Especially with Laptops.


Re: Speeding up Pawno Compiler. - playbox12 - 08.10.2011

Faster CPU, more cores, more RAM etc all influence compiling time. Laptops are and will probally stay slower then dekstops. (atleast for now they will).


Re: Speeding up Pawno Compiler. - Kush - 08.10.2011

Quote:
Originally Posted by playbox12
Посмотреть сообщение
Faster CPU, more cores, more RAM etc all influence compiling time. Laptops are and will probally stay slower then dekstops. (atleast for now they will).
Larger scripts?


Re: Speeding up Pawno Compiler. - Joe Staff - 08.10.2011

Quote:
Originally Posted by Kush
Посмотреть сообщение
Larger scripts?
He's referring to the OP's scenario, in which two computers compile the same script.


Clearly a computer with more computing power will compile faster.
Incidentally, if the compiler had a CUDA option, your video card could compile it in a fraction of the time.


Re : Speeding up Pawno Compiler. - Naruto_Emilio - 08.10.2011

Because laptops are slower then Desktops, and more ram and more CPU Speed would make it faster, and more smooth to compile around 1-10 secs, My compiler compiles in 30 sec for an a large scripts. and it has just 1.5 gb ram, but the worst CPU in earth.