|
Burgundy Rahja
Registered User
Join date: 2 Oct 2006
Posts: 31
|
03-01-2007 12:11
Hi,
I am trying to do some performance tuning on my scripts. I have put some seeds into my code capturing time tag & sim load. I am incredible surprised by the cycle times in some for loops.
I have been doing some analysis but need some additional info .. if folks can help me out.
On one of the wiki there was info on the amount of delay certain operations take but i cant find it any more
Can some one please send the URL?
Otherwise, can any one let me know the script delay from operations such as
1. llKey2Name 2. llListSort
Thanks in advance
Burg.
|
|
Masakazu Kojima
ケロ
Join date: 23 Apr 2004
Posts: 232
|
03-01-2007 13:35
|
|
Burgundy Rahja
Registered User
Join date: 2 Oct 2006
Posts: 31
|
03-01-2007 15:23
Thanks for the links: although they provide some info rather than a really definitive set.
For example, name2key and llListSort arent mentioned .. other than a side bar comment which to me suggests that name2key is slow - a conclusion I was coming to on my own.
What would be useful would be for each function a notion of the penalty to invoke it. It isnt necessarily a hardcoded delay as in llEmail .. it could just be a typical execution time .. for example if it had to invoke an RPC to get some information versus a call that worked on local data.
the llListSort function description is a classic .. a bubblesort! LOL
Burg.
|
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
03-02-2007 09:45
From: Burgundy Rahja
the llListSort function description is a classic .. a bubblesort! LOL
Burg.
For short, almost sorted linked lists, a bubble sort is very efficient.
|