Comments (4)
Both -ConstFold,+DCR
and the new -IfElseSwap
behave as expected on master
, thank you very much!
from lsl-pyoptimizer.
from lsl-pyoptimizer.
In the meantime you can disable DCR as well to work around the issue:
-O -constfold,-DCR
Thanks, that works!
The 'if' swapping may be a bit too visually invasive indeed. Maybe I should provide a separate option to disable it.
That would be very helpful. I like the XOR branching strategy, and I think it's a good default, but sometimes it hurts my brain to trace through and relate back to the original source during debugging
from lsl-pyoptimizer.
from lsl-pyoptimizer.
Related Issues (20)
- Setup pre-compiled binaries for different platforms [Enhancement] HOT 3
- Combined lists getting incorrectly spliced HOT 2
- Jump statements with default returns delete the required return value HOT 2
- Provide Python Packaging Information HOT 3
- Integration with Firestorm preprocessor conditional defines HOT 2
- Some float<->string conversions return incorrect results or raise an exception HOT 5
- --postarg is ignored HOT 1
- llChar optimization causing generic lexer error HOT 10
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 HOT 11
- Avoid defining unnecessary variables while inlining HOT 1
- Concatenate constant strings produces duplicate results HOT 1
- Subtraction replaced by addition of a negative value HOT 6
- AGENT_AUTOMATED constant is missing... HOT 1
- New LSL commands missing HOT 2
- Update needed for PBR and other 2023 LSL Additions. HOT 6
- Dead Code Removal does not remove all dead code HOT 4
- NAK causes Firestorm script compiler to error HOT 11
- Invalid signs after const folding with Optimize signs disabled. HOT 1
- AttributeError: 'optimizer' object has no attribute 'PythonType2LSL' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsl-pyoptimizer.