mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
No description
- Resolve for lists that aren't constants, but that are SEF, and reference a constant element, e.g. llList2String([llGetKey(), 5], 1) -> 5. - Make it work with invalid conversions, if they are SEF. - Simplify invalid conversions when the list argument is a llGetObjectDetails call and SEF. - Simplify llList2String(llGetObjectDetails(id, [single_element]), 0) (or -1) to (string)llGetObjectDetails...; same with llList2Key and llList2Integer, converting it to (integer)((string)llGetObjectDetails...). - Add TODO item to do it similarly for llGet[Link]PrimitiveParams. Adds auxiliary functions to return a node or constant from a list in any of its forms, its length, and a constant for a node or constant. Adds some utility members for LSL<->Python type conversion (one of them duplicated from lslparse.py). Needs maintenance of the types returned by llGetObjectDetails. |
||
---|---|---|
lslopt | ||
.gitignore | ||
builtins-unittest.txt | ||
builtins.txt | ||
COPYING | ||
main.py | ||
README.md | ||
seftable.txt | ||
testfuncs.py | ||
testparser.py |
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/