Raised This Month: $ Target: $400
 0% 

Solved need help in optimization [weird coding]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-22-2022 , 05:38   Re: need help in optimization [weird coding]
Reply With Quote #1

PHP Code:
#define MAX_NAME_LENGTH 32
new szName[MAX_NAME_LENGTH 2], len;
get_user_name(idszNameMAX_NAME_LENGTH-1);
szName[(len=strlen(szName))] = ' ';
szName[len+1] = 0
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-22-2022 at 05:47.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-22-2022 , 07:13   Re: need help in optimization [weird coding]
Reply With Quote #2

Quote:
Originally Posted by Natsheh View Post
PHP Code:
#define MAX_NAME_LENGTH 32
new szName[MAX_NAME_LENGTH 2], len;
get_user_name(idszNameMAX_NAME_LENGTH-1);
szName[(len=strlen(szName))] = ' ';
szName[len+1] = 0
At some point you need to question whether readability or 0.0000000001 second faster execution is more important.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode