No description
Find a file
Sei Lisa 3a849fe4b9 Optimize a common condition of (x & flag1) && (x & flag2)
It can't be done always: flag1 and flag2 must be nonzero powers of two. In that case, we can transform it to:

!~(x|~(flag1|flag2)) = !~(x|constant)

The -2147483648 case has trouble with the sign hack detector and I couldn't trigger it.
2017-10-13 02:59:32 +02:00
lslopt Optimize a common condition of (x & flag1) && (x & flag2) 2017-10-13 02:59:32 +02:00
.gitignore Yet another follow-up to 2f4f403 (lslcalc support) 2016-12-15 04:15:26 +01:00
builtins-unittest.txt Get rid of builtins.txt.dat by adding a parameter to the parser ctor. 2015-07-09 20:35:14 +02:00
builtins.txt New upstream release of builtins.txt. 2017-08-17 16:57:08 +02:00
COPYING Add copyright notices to all files, to prepare the program for release. 2015-03-05 23:18:41 +01:00
main.py Implement accurate error reporting through #line directives. 2017-10-11 05:04:13 +02:00
README.md URL changed. 2016-12-15 04:37:45 +01:00
seftable.txt llUnescapeURL is side effect-free. 2017-01-27 20:14:47 +01:00
testfuncs.py Change strategy for the checking of function input types. 2017-10-12 17:16:16 +02:00
testparser.py Rewrite ReportError() and change EParse to report columns in chars. 2017-10-05 18:50:45 +02:00

LSL PyOptimizer

LSL PyOptimizer is a LSL2 script optimizer written in Python 2. Currently it only supports code memory optimization (no speed optimization), only for Mono (no LSO), and only for the Second Life flavour of LSL (no OpenSim etc.).

HTML introduction, list of features and documentation available at http://lsl.project.zone/lsl-pyoptimizer/