mirror of
https://github.com/Noratrieb/advent-of-code.git
synced 2026-01-16 18:45:02 +01:00
faster
This commit is contained in:
parent
1115c68992
commit
29ff6d5241
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ pub unsafe fn part2(input: &str) {
|
||||||
sum += first * 10 + last;
|
sum += first * 10 + last;
|
||||||
digits = [0_u8; 128];
|
digits = [0_u8; 128];
|
||||||
line_idx = 0;
|
line_idx = 0;
|
||||||
|
byte_idx += 1;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const fn gorble(s: &[u8]) -> u64 {
|
const fn gorble(s: &[u8]) -> u64 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue