Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

The Great Lag Quiz :)

Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
07-11-2006 06:23
Can anyone experienced with this kind of thing, please let me know which of the pairs below is less laggy?

Pair 1:
a) 1 script searching through a (x) element list of keys with llListFindList
b) (x) scripts recieving a link message, running a single if statement and exiting

Pair 2:
a) Testing equality of integers
b) Testing equality of strings of length 1

Thanks :)
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
07-11-2006 18:08
I believe pair 2 is less laggy, so long as it is done in one script. Anytime you have (x) scripts, you have more lag.
Rodrick Harrington
Registered User
Join date: 9 Jul 2005
Posts: 150
07-11-2006 21:30
in pair one I'd say about equal but I'm not sure about that. In pair 2 the integer is certainly faster iirc.
_____________________