Commit f7bb664
committed
Auto merge of #150 - andjo403:repeat, r=Amanieu
micro optimize repeat function
makes it easier for the compiler and the reader with less code :)
for "prof" https://godbolt.org/z/5bdD2b
when I tried cargo bench I got very large variance between runs was multiple test that one time had 2x improvement to the next time have a minor regression so have more trust in the llvm-mca result.1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 30 | + | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
| |||
0 commit comments