Comparison Operators Don't Support Constant Folding
See original GitHub issue-
>=(Done in https://github.com/OpenDreamProject/OpenDream/pull/842) -
<=(Done in https://github.com/OpenDreamProject/OpenDream/pull/842) -
<(Done in https://github.com/OpenDreamProject/OpenDream/pull/842) -
>(Done in https://github.com/OpenDreamProject/OpenDream/pull/842) -
~= -
==(WIP in https://github.com/OpenDreamProject/OpenDream/pull/885) -
!=(WIP in https://github.com/OpenDreamProject/OpenDream/pull/885)
See Binary.cs and Constant.cs
Issue Analytics
- State:
- Created a year ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How to turn off the constant folding optimization in llvm
I found that the generated bit code is having the constant folding optimization which I don't want. I'm using this command: clang -O0...
Read more >8.2.1.14 Constant-Folding Optimization
Comparisons between constants and column values in which the constant value ... Folding is performed for constants compared to supported MySQL column types ......
Read more >Optimizing C++ Code : Constant-Folding - C++ Team Blog
This post examines Constant-Folding – one of the simplest optimizations ... You can even throw in bools, logical operators, ifs and ?:
Read more >What are the downsides of supporting chained comparison ...
Instead, comparison operators either succeed or fail, which are concepts the language has hard-baked, and having a chained comparison simply ...
Read more >Comparison operators
Comparison operators can be used to compare two pointers. Only equality operators (operator== and operator!=) can be used to compare the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

<>is just an alias for!=so that should be done in the parserEdit: It’s already done
What about
<>? I thought I remember someone mentioning that recently, but I’m not sure where.