code in an "else" branch that is never executed still does influence runtime (Vectorizer?)
the following code contains
if foo then ... else bar
where foo evaluates to True. If I replace this by
if foo then ... else undefined
then execution gets faster drastically.
The code uses Data.Vector.Unboxed.
Trac metadata
Trac field | Value |
---|---|
Version | 7.0.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |