[Opensim-users] Scripting: 10x speed boost with C#

Jeff Kelley opensim at pescadoo.net
Mon May 2 12:11:40 UTC 2011


At 10:33 AM -0700 4/26/11, dz wrote:

> While it may seem advantageous to complete the loop through your link message
> generation as fast as possible,   you cant ignore the fact that there is
>a hard coded
> limit on the number of events that will queue...   Generate them at the
>"correct"
> speed  and they will be processed,  Flood the event queue and some may be
>"dropped"

You are right dz, but... relying on timing is not a good programming
practice. There exists no "correct speed". What may work on a given system
may break on a slower system, because the queue event dit not get flushed
fast enough.

If we need to be sure an event has been processed, the only correct
programming is two-way synchronous communication. And LSL make it tedious,
at least.

A synchronous llMessageLinked, or a llSayWaitAnswer would be a HUGE step
towards clean, structured programming.



More information about the Opensim-users mailing list