75 Commits

Author SHA1 Message Date
Johannes Schaefer 267dfb8068 day11 part 1 2018-12-11 11:25:57 +01:00
Johannes 6d4bdccc6e day10 part 2 2018-12-11 09:35:19 +01:00
Johannes 4eb90ac047 day10 part 1 2018-12-10 20:51:13 +01:00
Johannes Schaefer 2cf9933300 day09 part 2 2018-12-10 15:16:06 +01:00
Johannes Schaefer e5a3a1458a day09 part 1 2018-12-10 13:10:09 +01:00
Johannes Schaefer d84e3bff27 day08 part 2 2018-12-09 21:34:43 +01:00
Johannes Schaefer 51418b709e day08 part 1 2018-12-09 21:17:29 +01:00
Johannes Schaefer 4946263a37 day07-1 2018-12-07 11:17:48 +01:00
Johannes Schaefer cd16a42821 push to edition 2018 2018-12-07 09:53:18 +01:00
Johannes Schaefer 5ab8409b5b day06 both 2018-12-06 09:50:35 +01:00
Johannes 5fa344dd55 day05 part 2 prealloc vectors 2018-12-05 20:53:00 +01:00
Johannes Schaefer d10d36498c day05 performance push part 2 through more efficient case insensitive comparison 2018-12-05 15:19:12 +01:00
Johannes Schaefer 32843531f8 take times 2018-12-05 15:15:18 +01:00
Johannes Schaefer 50cd1d6b00 removed comments 2018-12-05 10:50:27 +01:00
Johannes Schaefer 40957e1252 day05 both parts fast 2018-12-05 10:49:52 +01:00
Johannes 6e92d937a9 day05 part 1 (2 WIP) 2018-12-05 08:44:50 +01:00
Johannes baacb780ba day04 both 2018-12-04 20:15:20 +01:00
Johannes 43ce26593e day03 both 2018-12-04 18:06:01 +01:00
Johannes 088179a007 day02-2 super-fast 2018-12-02 19:12:01 +01:00
Johannes 062c30ece4 day02-2 linear 2018-12-02 14:25:46 +01:00
Johannes b89e4f4929 day02 both 2018-12-02 09:17:23 +01:00
Johannes a0509342ae day01-2 use scan with tuple expansion
The previous problem with this was, that I tried returning
"Some((Ref<i32>, _))" from the lambda. That caused the compiler to complain
about the lifetime of the `current` value, since I tried passing on the Ref
instead of the encapsulated value.
2018-12-01 18:19:07 +01:00
Johannes 0494dee19d day01-2 tuple 2018-12-01 17:54:30 +01:00
Johannes 2d64eefc09 day01 redone in a more functional way
in task2, RefCell is used since the passed state in 'scan' seems to be
immutable, although it shouldn't.
2018-12-01 15:13:16 +01:00
Johannes cebb80763a day01 both 2018-12-01 10:03:12 +01:00