|
Scott Tureaud
market base?
Join date: 7 Jun 2007
Posts: 224
|
10-21-2007 11:04
ok so I took a basic sensor that detects agents(avatars), set to launch a sensor repeat every .3 seconds.
I then tried using a few differant things in the sensor logic. a for statement, OwnerSay, and a llSleep command for 1 second. then adjusting the sensor range from 10 meters to 90
so i tried this in two places. the microsoft sandbox with a few people then in the Mauve sand box.
in the mircrosoft sand boxed I rezzed 330 of these basic sensor scripts and the sim stats stayed 1.00 dilation only occasionaly dipping to .99 dilation. and the SIM FPS and other tools stayed pretty much the same.
in the Mauve sand box I rezzed 120 of the sensors and the sim stats stayed virtually unchanged.
is it safe to say that sensors aren't very inefficent just what you can shove in them is?
|
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
10-21-2007 12:08
There are scripts which use far more rapid timers than 0.3 seconds, that isn't all that rapid relatively speaking.
Mind you, I am still surprised by those results. The number of other people in the sims, the details of the sensor calls, and what exactly the scripts were doing other than firing sensors would be significant. (It may be that if nothing is actually being done with the data gathered by the sensors, they are not that significant - or that if there were not many agents around and a sensor was looking for agents, it would be a lot faster.)
_____________________
http://ordinalmalaprop.com/forum/ - visit Ordinal's Scripting Colloquium for scripting discussion with actual working BBCode!
http://ordinalmalaprop.com/engine/ - An Engine Fit For My Proceeding, my Aethernet Journal
http://www.flickr.com/groups/slgriefbuild/ - Second Life Griefbuild Digest, pictures of horrible ad griefing and land spam, and the naming of names
|