[Solved] Optimize code
i Have this array:
c{ new _:RoundData[ MAXPLAYERS ][ MAXPLAYERS ][ 32 ][ 9 ][ Score ][ 3 ] }; and i want to take each entry from inside and to upload it into a mysql server well i make a code :P but only in the compilation took 11 Seconds so i just don't want to thing how much time will take on server Anyway to Optimize it?:P this is the code: Code:
|
Re: Optimize code
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team Gather.sma(1344) : warning 203: symbol is never used: "HitPlaceStrings" Gather.sma(1344) : warning 203: symbol is never used: "WeaponShortNames" Gather.sma(1344) : warning 203: symbol is never used: "hud" Header size: 2548 bytes Code size: 56240 bytes Data size: 34304596 bytes Stack/heap size: 16384 bytes; max. usage is unknown, due to recursion Total requirements: 34379768 bytes 3 Warnings. Done. Compilation Time: 11,00 sec |
Re: Optimize code
Do you really need an array with that many dimensions? Just saying.
|
Re: Optimize code
i tested it and it works fine [only 4 ms freeze]... And yes i want it :D anyway case: solved..
|
| All times are GMT -4. The time now is 04:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.