Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Server Resources

IBME Swindlehurst
Registered User
Join date: 5 Mar 2007
Posts: 139
11-03-2007 04:53
Does a script set to "NOT RUNNING" in an object chew up any server resources? Where can I go to find out how much server resources a particular scripting function eats up? I am trying to write the most efficient code I possibly can. Thanks in advance for any advice or directions.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-03-2007 08:41
AFIAK no one has made a definitive list of function time, but there ARE lots of comparisons floating around the Wiki includes a script for test effeciency and the standard test for memory during operations is to run it into the ground on purpose... heck I even started a thread for optimizations, but it died quickly

setting a script "not running" does save a few cycles, but you'll need another script to wake it up later, and you should be aware it'll likely pick up where it left off (it might pop out of an event statement, but it'll be in the same state)

the link to the SL scripting wiki on effeciency
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -