[HELP] Optimizing
How to optimize a code?
CPU 15 ~ % :shock: PHP Code:
PHP Code:
|
Re: [HELP] Optimizing
Just a few ideeas:
- You could add a skipping system, to skip some "frames" of that function, it will slow down the reactino time of whatever is doing but it will save some resources. Something like: Code:
static iSkip- is_valid_ent() is a bit faster than pev_valid() and I dunno if the function triggers on invalid entities tough... The rest I'm not really good at :} |
| All times are GMT -4. The time now is 19:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.