diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2020-03-21 18:01:50 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2020-03-21 18:01:50 -0400 |
| commit | af243d4d91400e071a5b8fe5041f55f07fd8a928 (patch) | |
| tree | 102c4febd72514917382c580a0c4f06082ff0d36 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | a7ec6f8fe0fb10fa91ac40f68beccd2675cba50c (diff) | |
| download | rust-af243d4d91400e071a5b8fe5041f55f07fd8a928.tar.gz rust-af243d4d91400e071a5b8fe5041f55f07fd8a928.zip | |
Avoid relying on const parameters to function
LLVM seems to at least sometimes optimize better when the length comes directly from the `len()` of the array vs. an equivalent integer. Also, this allows easier copy/pasting of the function into compiler explorer for experimentation.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
