a1f1f1373972651509f731b9c75b2296274a0cf1
int != int was not properly optimized, because the != was transformed into the equivalent !(int == int) at an earlier stage. Fixed. !(a ^ b) can be optimized to a == b, so do it.
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.blacktulip-virtual.com/lsl-pyoptimizer/
Description
Optimizes a LSL2 script, folding constants, removing unused code and more. Adds new syntax features too.
Languages
Python
73.5%
LSL
26.5%