sac2c doesn't like to WLF FOLD if argument is Boolean
| Bugzilla Link | 404 |
| Created on | Oct 31, 2007 21:25 |
| Resolution | INVALID |
| Resolved on | Aug 30, 2009 21:21 |
| Version | 1.00beta |
| OS | Linux |
| Architecture | PC |
| Attachments | slow.sac |
Extended Description
slow.sac runs a bunch slower doing:
sum(toi(booleanvector)) than doing: sum(integervector) It does one WL for toi() and one WL for the fold. This explains why some APL benchmarks run like dirt. Doesn't explain why others do, though...