MantisBT - opensim
View Issue Details
0008358opensim[REGION] Scripting Enginepublic2018-08-25 05:462020-11-21 22:56
Yichard Muni 
tampa 
normalfeatureN/A
resolvedno change required 
 
 
Grid (Multiple Regions per Sim)
BulletSim
Unknown
None
0008358: Remove dataserver event delay
When a script reads a notecard, the llGetNotecardLine() function get replied through the dataserver event.
There is a 0.1s sleep delay when llGetNotecardLine() is invoked.
I don't know the reason why this delay, perhaps it was making sense in the early times of SL. But today it appears to be an useless hindrance.
This delay was removed about 1 year ago in Inworldz phlox script engine, and this resulted in lightning fast notecard reading, without appearent issues.

I think this is a very simple fix, but very helpful for large scripts handling a lot of data.
No tags attached.
Issue History
2018-08-25 05:46Yichard MuniNew Issue
2018-08-25 12:42BillBlightNote Added: 0032880
2018-08-25 21:02Yichard MuniNote Added: 0032886
2018-08-25 21:06Yichard MuniNote Edited: 0032886bug_revision_view_page.php?bugnote_id=32886#r6620
2018-08-25 21:07BillBlightNote Added: 0032887
2020-11-21 22:56tampaStatusnew => resolved
2020-11-21 22:56tampaResolutionopen => no change required
2020-11-21 22:56tampaAssigned To => tampa

Notes
(0032880)
BillBlight   
2018-08-25 12:42   
Use the OSSL functions, pretty sure they don't have the delay because they don't use the dataserver ..

http://opensimulator.org/wiki/Category:OSSL_Functions#Notecards [^]
(0032886)
Yichard Muni   
2018-08-25 21:02   
(edited on: 2018-08-25 21:06)
Interesting functions, thanks you very much. But I keep this Mantis, for portability of other scripts imported here.
Added: the linked page says there is no delay. still need to check how many time it takes to execute. The SL function with dataserver was able to read several lines per script engine time frame (each 16 milliseconds)

(0032887)
BillBlight   
2018-08-25 21:07   
Most os functions do not have the built in delays, core has taken the stance that the delays would not be removed due to making it easier to grief ..

Of course this is the beauty of opensource people are free to adapt and patch ..