
12-09-2005, 09:32 AM
|
|
http://wiki.graal.us/
|
 |
Join Date: Nov 2001
Posts: 2,247
|
|
|
It doesn't matter that it's being calculated.
What matters is how often it's being calculated.
If it's once, Sure, don't bother to pre-calculate.
If it's hundreds of times a second, I recommend pre-calculating it.
Just put it in a variable at creation, and use that in the script. That will garentee it's only calculated once. |
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
|
|
|
|
|