Talk:LSL Function Style/Celierra Darling

From Second Life Wiki
Jump to navigation Jump to search

Complexity is irrelevant. LSL functions delay seemingly random amounts, and functions you'd think would be CPU intensive like MD5Sum ... aren't. There's so much crap in terms of energy and delay and other random throttling on top of the function that a complexity rating would be meaningless, and potentially lag-inducing. Someone might avoid an n^2 function and implement their own nlogn version in LSL, which would undoutably be very much slower and cause more lag. Built-ins are always better than implementing the algorithm in LSL itself. Gigs Taggart 21:51, 23 February 2007 (PST)

List & string functions tend to have a high complexities as all the parameters have to be copied onto the stack. Strife Onizuka 09:25, 24 February 2007 (PST)