Been writing microkernel code too long myself, wasn't thinking about UNIX user space code! Tsk tsk.
I've seen no reason not to believe the Top Scripts numbers. Why do you believe the "Script time" numbers and not Top Scripts?
These forums are CLOSED. Please visit the new forums HERE
Babbage Linden asks: what can LL change in LSL to reduce lag? |
|
Lear Cale
wordy bugger
![]() Join date: 22 Aug 2007
Posts: 3,569
|
12-08-2009 09:50
Been writing microkernel code too long myself, wasn't thinking about UNIX user space code! Tsk tsk.
I've seen no reason not to believe the Top Scripts numbers. Why do you believe the "Script time" numbers and not Top Scripts? |
Argent Stonecutter
Emergency Mustelid
![]() Join date: 20 Sep 2005
Posts: 20,263
|
12-08-2009 10:07
I've seen no reason not to believe the Top Scripts numbers. Spent too much time micro-optimizing stuff that wasn't actually in the critical path to trust any instrumentation I haven't at least eyeballed the source for. That's why I loved ATOM, I could see exactly what I was inserting into the image. I don't understand what you mean by believing script time numbers and not top scripts. I'm not assuming that ANY of the instrumentation is accurate. _____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/
"And now I'm going to show you something really cool." Skyhook Station - http://xrl.us/skyhook23 Coonspiracy Store - http://xrl.us/coonstore |
Viktoria Dovgal
…
![]() Join date: 29 Jul 2007
Posts: 3,593
|
12-08-2009 11:20
I'm not assuming that ANY of the instrumentation is accurate. LL surely don't believe it's especially accurate, and they can see the code! |
Coldfire Nightfire
Registered User
Join date: 25 May 2008
Posts: 48
|
Group notices
12-08-2009 22:10
They could eliminate the the group notice that goes to the sender .
afterall the sender knows what it says and has the landmark and or attachments, that would stop prob, a 1000 notices a day, which would free up server resorces. would it not. |
Argent Stonecutter
Emergency Mustelid
![]() Join date: 20 Sep 2005
Posts: 20,263
|
12-09-2009 06:15
They could eliminate the the group notice that goes to the sender . afterall the sender knows what it says and has the landmark and or attachments, that would stop prob, a 1000 notices a day, which would free up server resorces. would it not. _____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/
"And now I'm going to show you something really cool." Skyhook Station - http://xrl.us/skyhook23 Coonspiracy Store - http://xrl.us/coonstore |
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
12-09-2009 07:05
nevermind that it may ultimately cost more to filter it than to send it.
_____________________
|
| . "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... | - |
SuezanneC Baskerville
Forums Rock!
![]() Join date: 22 Dec 2003
Posts: 14,229
|
12-11-2009 13:49
I have no idea how much time is spent doing string processing, but there are some string functions in the wiki being done in LSL that could be made into "native" LSL functions. That would speed them up, correct?
http://wiki.secondlife.com/wiki/Library_Combined_Library#str_replace It's things like Trim, Replace, and so on. There are bound to be a number of other functions in the wiki written in LSL that could be made into "native" LSL functions and speed things up. _____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them. I can be found on the web by searching for "SuezanneC Baskerville", or go to http://www.google.com/profiles/suezanne - http://lindenlab.tribe.net/ created on 11/19/03. Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan - |
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
12-11-2009 15:11
I have no idea how much time is spent doing string processing, but there are some string functions in the wiki being done in LSL that could be made into "native" LSL functions. That would speed them up, correct? http://wiki.secondlife.com/wiki/Library_Combined_Library#str_replace It's things like Trim, Replace, and so on. There are bound to be a number of other functions in the wiki written in LSL that could be made into "native" LSL functions and speed things up. like last index and multi find (which I added to the wiki, that are very clunky for strings and lists but about the best we have) _____________________
|
| . "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... | - |
Argent Stonecutter
Emergency Mustelid
![]() Join date: 20 Sep 2005
Posts: 20,263
|
12-11-2009 15:20
Didn't they already add Trim?
Replace is a good one. How about: string new = llRegexReplace(string old, string matchexp, string repexp); Eg: llOwnerSay(llRegexReplace("Torley Torgelson", "^\([^ ]*\) .*", "\1 Linden!" ![]() Object: Torley Linden! _____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/
"And now I'm going to show you something really cool." Skyhook Station - http://xrl.us/skyhook23 Coonspiracy Store - http://xrl.us/coonstore |
Meade Paravane
Hedgehog
![]() Join date: 21 Nov 2006
Posts: 4,845
|
12-16-2009 14:27
A bit off topic but also:
- move default camera positioning to the viewer - support collision hulls/partially-physical objects Both of these could be big wins for the sim CPU... _____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224 - If you see "if you were logged in.." on the left, click it and log in - Click the "Vote for it" link on the left |
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
12-16-2009 15:59
Didn't they already add Trim? Replace is a good one. How about: string new = llRegexReplace(string old, string matchexp, string repexp); Eg: llOwnerSay(llRegexReplace("Torley Torgelson", "^\([^ ]*\) .*", "\1 Linden!" ![]() Object: Torley Linden! I would SO love to have Regular Expression matching, especially in a way useful for list (but that would need type inclusion, so I won't hold my breath) the current trim only works on spaces, it'd be nice to have other character possibilities, and Get sub string already covers arbitrary trimming. _____________________
|
| . "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... | - |
Solomon Devoix
Used Register
Join date: 22 Aug 2006
Posts: 496
|
01-04-2010 09:44
I don't know if this ever got notecarded to Babbage or not, so I'll go ahead and make a comment, just in case.
In regards to this: Some kind of per-object non-volitile text field. Maybe as small as 255 characters. Something we can use to store a modest amount of data. Not the name, not the description. Something we can read, and write to via LSL. a fair number of "memory" scripts could be avoided with just that concession. The Text property of a prim is non-volitile, is 255 characters long, can be set to full alpha so it's not visible, and is easily set. All that's missing, to make it SOOOO usable, as I and others have said for several years now (and yes, on the JIRA) is to add a llGetText command so we can read as well as write the Text property of a prim. I never have understood why that was left out. _____________________
I dont know what the actual answer is.. I just know LLs response was at best...flaccid. That's a very good way to put it, and now I know why we still haven't seen the promised blog entry... ...the Lindens are still waiting for their shipment of Lie-agra to come in to firm up their flaccid reasoning. |
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
01-04-2010 09:47
I don't know if this ever got notecarded to Babbage or not, so I'll go ahead and make a comment, just in case.. This thread was linked-to in a comment to his recent blog post. Dunno if he's come by and seen it, though. _____________________
Sick of sims locking up every time somebody TPs in? Vote for SVC-3895!!!
- Go here: https://jira.secondlife.com/browse/SVC-3895 - If you see "if you were logged in.." on the left, click it and log in - Click the "Vote for it" link on the left |
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
01-04-2010 10:26
I never have understood why that was left out. agreed, no set w/o get and vice versa.... and I'd extend that to the edit UI too... I can't think of the number of scripts that set some hidden prim property that get left in doing nothing because of inexperience.... which could be eliminated by an advanced edit mode that could set it... even something as simple as a list like is done in debug for the viewer. ETA: I wonder if that would only require a viewer mod, or if the server is not set up to accept viewer input on those properties... probably the latter. _____________________
|
| . "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... | - |
Lear Cale
wordy bugger
![]() Join date: 22 Aug 2007
Posts: 3,569
|
01-04-2010 19:41
The Text property of a prim is non-volitile, is 255 characters long, can be set to full alpha so it's not visible, and is easily set. |
Lear Cale
wordy bugger
![]() Join date: 22 Aug 2007
Posts: 3,569
|
01-04-2010 19:43
agreed, no set w/o get and vice versa.... and I'd extend that to the edit UI too... I can't think of the number of scripts that set some hidden prim property that get left in doing nothing because of inexperience.... which could be eliminated by an advanced edit mode that could set it... even something as simple as a list like is done in debug for the viewer. ETA: I wonder if that would only require a viewer mod, or if the server is not set up to accept viewer input on those properties... probably the latter. For example, there's an llPointAt() function. Someone talked about fixing the viewer to support it, but someone at LL looked at the server code and pointed out that the server code implementing the function does nothing, so the viewer gets no indication. |
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
01-04-2010 20:38
Can't be viewer side only; the script runs on the sever. If a function ain't implemented, changes to the viewer have no effect. I was wondering the opposite.. if it's only available on the server via scripting engine, or if there is instruction along with the other prim properties that could be accessed from the viewer as well. _____________________
|
| . "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... | - |
Lear Cale
wordy bugger
![]() Join date: 22 Aug 2007
Posts: 3,569
|
01-05-2010 06:12
Not sure what your question is.
We're talking about scripts. Scripts run on the server and (outside of using something like the Restricted Life bridge) don't have access to the information available to the viewer. Many object properties live on the server but are passed to the viewers. "Client side scripting", bots, and the GUI could all make use of this information, but except for using something like RL API, it's only available to scripts in objects if it's available via LSL calls, which must be implemented on the server. Furthermore, we'd want to be able to have objects that keep working even if no viewer is viewing. (Of course, we'd also like the ability to shut them down if nobody's nearby.) |
SuezanneC Baskerville
Forums Rock!
![]() Join date: 22 Dec 2003
Posts: 14,229
|
01-05-2010 06:25
What's the ETA on C#?
_____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them. I can be found on the web by searching for "SuezanneC Baskerville", or go to http://www.google.com/profiles/suezanne - http://lindenlab.tribe.net/ created on 11/19/03. Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan - |
Meade Paravane
Hedgehog
![]() Join date: 21 Nov 2006
Posts: 4,845
|
01-05-2010 07:19
What's the ETA on C#? Next summer, maybe, last I heard. _____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224 - If you see "if you were logged in.." on the left, click it and log in - Click the "Vote for it" link on the left |
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
01-05-2010 10:03
Not sure what your question is. I was wondering, since all those other prim properties are exposed to the viewer UI, if some of those that weren't showing were ALSO exposed. it was part of the statement about there needing to be get/set pairs for everything, including in the UI _____________________
|
| . "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... | - |