Raised This Month: $ Target: $400
 0% 

Optomization


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-18-2012 , 20:32   Re: Optomization
Reply With Quote #3

With single-cell variables like that, it really doesn't matter much unless you are creating like 20 different ones.
Also, when you reinitialize the static variable, you use more CPU usage because it has to set the value again, so making it static doesn't necessarily save you much here. It's best used for arrays or lots of single-cell variables in a frequently called code block.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
 



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 06:10.


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