User talk:Void Singer/Teacup

From Second Life Wiki
< User talk:Void Singer
Revision as of 06:24, 15 April 2011 by Haravikk Mistral (talk | contribs) (Minor Optimisation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Minor Optimisation

Great little script! Just curious though about this line: <lsl>if (~llListFindList( [200, 404], [vIntDta] )){</lsl> Is there a particular reason why you went for that in preference of a simple condition? As conditions are always faster: <lsl>if ((200 == vIntDta) || (404 == vIntDta)){</lsl> I assumed it was for readability or ease of editing, but I'm not sure there's really any advantage to searching a static list?
-- Haravikk (talk|contribs) 06:24, 15 April 2011 (PDT)