efcf1cb1df8cf2e69e3add7e5bed121fe093d80a
Apparently, under Windows, Python does a UTF-16 word-by-word comparison when comparing two strings: >>> u'\ud700' < u'\U0001d41a' True >>> u'\ue000' < u'\U0001d41a' False Fix it by encoding as UTF-32 big endian before comparison, when that happens.
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/
Description
Optimizes a LSL2 script, folding constants, removing unused code and more. Adds new syntax features too.
Languages
Python
73.5%
LSL
26.5%