LSL Script Efficiency

From Second Life Wiki
Revision as of 19:24, 3 April 2007 by Strife Onizuka (talk | contribs) (Removed factualy inaccurate material)
Jump to navigation Jump to search

What is Efficiency

PAGE UNDER CONSTRUCTION!


Efficiency is how long it takes to run a script.

There are many ways to speed up scripts, such as using ++a instead of a++.

Rules for posting

The following code snipit will allow testing of a function.

default {
  state_entry() {
    integer i = 0;
    while (i < 1) {
      ++a;
    }
  }
}

Things that are faster