3 ms·
Sounds like optimization going haywire, deducing that the statement under question would constantly evaluate to this term. Its valid to optimize a else stateme
by Pica_soO 9y ago
Sounds like optimization going haywire, deducing that the statement under question would constantly evaluate to this term.
Its valid to optimize a else statement out- if it will never be reached (Dead Codepath Optimizing out). Was there something akin to this in the statement?
- s_kilk 9y ago> Was there something akin to this in the statement? It probably was the optimiser at fault, but there wasn't anything special about this conditional, and certainly nothing that _should_ have caused the optimiser to throw away the else branch. If memory serves right it was comparing a string field of an object to a static string, like `someObject.foo == "some string"`.