This commit is contained in:
nora 2023-12-02 18:51:05 +01:00
commit 2cfee8a448
11 changed files with 240 additions and 0 deletions

12
2023/day1/README.md Normal file
View file

@ -0,0 +1,12 @@
# day 1
benchmarks:
Ensure that `input.txt` contains many, many copies of the actual input, the actual input is way too small.
`cargo build --release && hyperfine 'target/release/day1 naive' 'target/release/day1 zero_alloc' 'target/release/day1 branchless'`
```
target/release/day1 branchless ran
1.52 ± 0.06 times faster than target/release/day1 zero_alloc
7.74 ± 0.27 times faster than target/release/day1 naive
```