|
Boreal Latte
Registered User
Join date: 15 Nov 2007
Posts: 104
|
02-16-2008 05:03
In the wiki ( http://wiki.secondlife.com/wiki/LSL_Portal), there is in general listed a delay for each function. This I find useful. Question 1) Are they values official values, or have they been experimentally established? Question 2) Are there any of the build in language constructs that also has a build in delay - eg. changing state? Question 3) Is there an official lsl way of measuring execution time - I can figure out how to use llGetTimestamp, but if you all know a better way, I would be happy
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
02-16-2008 07:13
From: Boreal Latte In the wiki ( http://wiki.secondlife.com/wiki/LSL_Portal), there is in general listed a delay for each function. This I find useful. Question 1) Are they values official values, or have they been experimentally established? those are all official values. From: someone Question 2) Are there any of the build in language constructs that also has a build in delay - eg. changing state? according to various sources the minimum trigger time for events (touch_start etc) is .05, and the default is .1 these values can be extended by minimum event delay fuction calls, or by being queued while other code is running. From: someone Question 3) Is there an official lsl way of measuring execution time - I can figure out how to use llGetTimestamp, but if you all know a better way, I would be happy any of the functions that get system time would work (timestamp, wallclock, unix time, gmt clock), but beware using either the script timer or the llGetTime function, as both of these are subject to time dilation from the sim, unless you're trying to establish a ratio of time used by a segment of code in a particular script.
_____________________
| | . "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... | - 
|