SA-MP Forums Archive
Compiler size - 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: Compiler size (/showthread.php?tid=566120)



Compiler size - bigboy81 - 03.03.2015

I need the best and fastest compiling scripts settings for pawno..
My amxx file is about 8mb i want to small it..



Re : Compiler size - Golimad - 03.03.2015

Includes adds a lot of size to the amx file, Mappings aswell I think.
Only way you can decrease the size is : Copy the functions(stocks) you need from the secondary includes ( like utils and such ) and past them on the gamemode file. ( Add comment with the credits you took if from to look like a good scripter. )


Re: Compiler size - ReD_HunTeR - 03.03.2015

try ZeeX Compiler, btw there is not fastest compiling.., all have same speeds :#


Re : Re: Compiler size - Golimad - 03.03.2015

Quote:
Originally Posted by ******
Посмотреть сообщение
Right now I am typing on my hybrid laptop. It is a very basic machine that is light and easy to transport - totally solid-state with only two cores. As such, it has, by modern standards, a tiny internal hard disk - just 64Gb total. That's compared to my main PC, with over 5Tb. In fact, that's only just twice what my watch has, with 32Gb.

Why am I telling you all this? My laptop is, by any modern standard, small in terms of storage, yet could store your script 8192 times over. I have some music on this device, one of those tracks is 24 minutes long and 54Mb big - nearly 7 times larger than your script.

My point is, we are in 2015, not 1915 - why are you so concerned about 8Mb? That's barely more memory than this page takes to be displayed, are you bothered by that (or do you use the Lynx browser)?
Great response. That just made me look dumb trying to help him decrease the file size.