Compiler with multicore support
#1

Does anyone know of any pawn compiler with support for multiple cores?

It could be a very useful.

Now i must wait 10 or 20 seconds sometimes... It comes boring. :/
Reply
#2

You wait 20 seconds for your script to compile? How big is it...
Reply
#3

lol when i had a gamemode 500k lines big (a shitload of comments and objects too) it took around 20 seconds.

but an average script should take no longer than 10 seconds with the shittiest computer around.
Reply
#4

Quote:
Originally Posted by Deathh
View Post
but an average script should take no longer than 10 seconds with the shittiest computer around.
Took me more than 1 minute to compile raven rp with Atom proccecor.
Reply
#5

Pff compiling a script shouldn't take more than 5 seconds, even if it's big
Reply
#6

15,000 lines with 3 other files included into it (split my gamemode into sections) takes around 8 seconds for me.
Reply
#7

lvdm gamemode:
Code:
lines: 1k
Compilation Time: 0.30 sec
amx size: 35kb
my gamemode:
Code:
lines: 18k
Compilation Time: 17.00 sec
amx size: 15mb
object editor filterscript:
Code:
lines: 5k
Compilation Time: 2.90 sec
amx size: 2mb
rnpc filterscript:
Code:
lines: 3k
Compilation Time: 71.00 sec
amx size: 92mb
if compiling takes too much time, then you can
-check out if your CPU is capable of switching off some cores, and raising the clock up a bit - w/o any more heat produced indeed.
-create a batch file which compiles your script in backgrond so you can keep editing.
-buy a second PC to compile it ^^
-maybe a caching program helps a bit at compiling/writing huge scripts?
-split up your project into parts: as long the gamemode contains all vital stuff, you can edit/compile/upload (small) filterscripts for any purpose, like events, race, object loading/editing, fireworks, player stats saving etc.
Reply
#8

The time it takes to compile a script should be considered highly irrelevant. What should be emphasized on is the execution speed (primary) and memory usage (secondary) in runtime. (The importance depends on what application you're writing of course.)
Reply
#9

The period of time taken for the script to be compiled should have no significant effect on the script working, perhaps you missed an error within?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)