Difference between revisions of "User:Meyermagic Salome/Optimizations"

From Second Life Wiki
Jump to navigation Jump to search
(New page: * For testing the first character in a string <lsl>(llSubStringIndex("test", "t") == 0);</lsl> is faster than <lsl>(llGetSubString("test", 0, 0) == "t");</lsl>)
 
Line 1: Line 1:
<div id="box">
== A few optimizations ==
<div style="padding: 0.5em;">
* For testing the first character in a string <lsl>(llSubStringIndex("test", "t") == 0);</lsl> is faster than <lsl>(llGetSubString("test", 0, 0) == "t");</lsl>
* For testing the first character in a string <lsl>(llSubStringIndex("test", "t") == 0);</lsl> is faster than <lsl>(llGetSubString("test", 0, 0) == "t");</lsl>
</div></div>

Revision as of 21:29, 10 May 2008

A few optimizations

  • For testing the first character in a string <lsl>(llSubStringIndex("test", "t") == 0);</lsl> is faster than <lsl>(llGetSubString("test", 0, 0) == "t");</lsl>