diff options
| author | Emerentius <emerentius@arcor.de> | 2018-06-16 21:58:28 +0200 |
|---|---|---|
| committer | Emerentius <emerentius@arcor.de> | 2018-06-19 19:33:54 +0200 |
| commit | 000aff604e3b16ffc3771bd5d93a6e7b425852d2 (patch) | |
| tree | 3bd5ca2639264c835fe5e39bea26d95a687e475a /src/rustllvm/PassWrapper.cpp | |
| parent | 61ba0180933485cf8a2bc6b7230a4c70b82bb063 (diff) | |
| download | rust-000aff604e3b16ffc3771bd5d93a6e7b425852d2.tar.gz rust-000aff604e3b16ffc3771bd5d93a6e7b425852d2.zip | |
specialize StepBy<Range(Inclusive)>
the originally generated code was highly suboptimal this brings it close to the same code or even exactly the same as a manual while-loop by eliminating a branch and the double stepping of n-1 + 1 steps The intermediate trait lets us circumvent the specialization type inference bugs
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
