Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008358opensim[REGION] Scripting Enginepublic2018-08-25 05:462020-11-21 22:56
ReporterYichard Muni 
Assigned Totampa 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusresolvedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008358: Remove dataserver event delay
DescriptionWhen 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.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
EnvironmentUnknown
Mono VersionNone
Viewer
Attached Files

- Relationships

-  Notes
(0032880)
BillBlight (developer)
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 (reporter)
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 (developer)
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 ..

- Issue History
Date Modified Username Field Change
2018-08-25 05:46 Yichard Muni New Issue
2018-08-25 12:42 BillBlight Note Added: 0032880
2018-08-25 21:02 Yichard Muni Note Added: 0032886
2018-08-25 21:06 Yichard Muni Note Edited: 0032886 View Revisions
2018-08-25 21:07 BillBlight Note Added: 0032887
2020-11-21 22:56 tampa Status new => resolved
2020-11-21 22:56 tampa Resolution open => no change required
2020-11-21 22:56 tampa Assigned To => tampa


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker