Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adrhill/adventofcode2021.jl
Advent of Code 2021 in Julia without dependencies
https://github.com/adrhill/adventofcode2021.jl
advent-of-code advent-of-code-2021 aoc aoc2021 julia
Last synced: 12 days ago
JSON representation
Advent of Code 2021 in Julia without dependencies
- Host: GitHub
- URL: https://github.com/adrhill/adventofcode2021.jl
- Owner: adrhill
- License: mit
- Created: 2021-12-01T19:43:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-20T23:25:34.000Z (almost 3 years ago)
- Last Synced: 2024-10-22T19:21:26.799Z (16 days ago)
- Topics: advent-of-code, advent-of-code-2021, aoc, aoc2021, julia
- Language: Julia
- Homepage:
- Size: 128 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AdventOfCode2021.jl
[![Build Status](https://github.com/adrhill/AdventOfCode2021.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/adrhill/AdventOfCode2021.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Coverage](https://codecov.io/gh/adrhill/AdventOfCode2021.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/adrhill/AdventOfCode2021.jl)Solutions for the [Advent of Code 2021](https://adventofcode.com/2021) in Julia Base without dependencies.
## Benchmarks
Timings may vary across commits as they are automatically generated by GitHub Actions on different machines:| Day | Part | Mean time | Memory | Allocs |
|:---:|:----:|----------:|-------:|-------:|
[Day 1](https://adventofcode.com/2021/day/1)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day01.jl) | `load`
`solve1`
`solve2` | 476.17 μs
4.54 μs
2.51 μs | 164.89 KiB
15.75 KiB
4.55 KiB | 4028
1
3
[Day 2](https://adventofcode.com/2021/day/2)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day02.jl) | `load`
`solve1`
`solve2` | 732.83 μs
44.82 μs
36.14 μs | 367.86 KiB
8.52 KiB
3.73 KiB | 5043
544
238
[Day 3](https://adventofcode.com/2021/day/3)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day03.jl) | `load`
`solve1`
`solve2` | 320.49 μs
19.14 μs
84.28 μs | 166.17 KiB
3.72 KiB
18.73 KiB | 3032
63
226
[Day 4](https://adventofcode.com/2021/day/4)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day04.jl) | `load`
`solve1`
`solve2` | 689.85 μs
3544.94 μs
6857.95 μs | 285.44 KiB
2909.50 KiB
5770.05 KiB | 2634
37397
72690
[Day 5](https://adventofcode.com/2021/day/5)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day05.jl) | `load`
`solve1`
`solve2` | 1875.88 μs
3753.84 μs
5315.98 μs | 974.00 KiB
8976.03 KiB
10971.72 KiB | 16530
5345
6290
[Day 6](https://adventofcode.com/2021/day/6)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day06.jl) | `load`
`solve1`
`solve2` | 59.39 μs
10.59 μs
30.29 μs | 27.49 KiB
10.12 KiB
32.12 KiB | 29
81
257
[Day 7](https://adventofcode.com/2021/day/7)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day07.jl) | `load`
`solve1`
`solve2` | 175.50 μs
3.24 μs
8835.75 μs | 82.12 KiB
7.94 KiB
15541.62 KiB | 30
1
1958
[Day 8](https://adventofcode.com/2021/day/8)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day08.jl) | `load`
`solve1`
`solve2` | 1075.97 μs
171.74 μs
4904.49 μs | 491.69 KiB
139.30 KiB
3063.55 KiB | 4428
1403
36681
[Day 9](https://adventofcode.com/2021/day/9)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day09.jl) | `load`
`solve1`
`solve2` | 2186.73 μs
163.11 μs
11226.87 μs | 2140.07 KiB
647.91 KiB
8292.72 KiB | 20839
28
55998
[Day 10](https://adventofcode.com/2021/day/10)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day10.jl) | `load`
`solve1`
`solve2` | 1704.99 μs
637.39 μs
707.76 μs | 1818.89 KiB
83.39 KiB
99.81 KiB | 20271
435
1349
[Day 11](https://adventofcode.com/2021/day/11)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day11.jl) | `load`
`solve1`
`solve2` | 43.37 μs
1468.90 μs
4704.70 μs | 32.75 KiB
1188.08 KiB
3768.79 KiB | 305
14120
44814
[Day 12](https://adventofcode.com/2021/day/12)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day12.jl) | `load`
`solve1`
`solve2` | 24.11 μs
22581.73 μs
1057686.35 μs | 9.19 KiB
14412.42 KiB
559774.62 KiB | 114
252595
13321828
[Day 13](https://adventofcode.com/2021/day/13)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day13.jl) | `load`
`solve1`
`solve2` | 921.08 μs
10.50 μs
122.54 μs | 511.89 KiB
3.50 KiB
42.00 KiB | 7266
104
1248
[Day 14](https://adventofcode.com/2021/day/14)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day14.jl) | `load`
`solve1`
`solve2` | 151.51 μs
253.69 μs
1200.07 μs | 106.12 KiB
135.20 KiB
625.52 KiB | 1209
1315
6415
[Day 15](https://adventofcode.com/2021/day/15)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day15.jl) | `load`
`solve1`
`solve2` | 1976.26 μs
19202.08 μs
2046878.20 μs | 2218.24 KiB
19335.34 KiB
1780413.16 KiB | 20841
19874
499894
[Day 16](https://adventofcode.com/2021/day/16)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day16.jl) | `load`
`solve1`
`solve2` | 465.70 μs
377.89 μs
378.28 μs | 445.04 KiB
305.95 KiB
305.95 KiB | 6865
3486
3486
[Day 17](https://adventofcode.com/2021/day/17)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day17.jl) | `load`
`solve1`
`solve2` | 11.44 μs
207.39 μs
8217.46 μs | 2.14 KiB
245.55 KiB
7982.41 KiB | 30
153
54545
[Day 18](https://adventofcode.com/2021/day/18)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day18.jl) | `load`
`solve1`
`solve2` | 43386.61 μs
3308.20 μs
467884.55 μs | 533.91 KiB
390.78 KiB
19820.12 KiB | 10612
9331
326158
[Day 19](https://adventofcode.com/2021/day/19)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day19.jl) | `load`
`solve1`
`solve2` | 1046.10 μs
226078.84 μs
225878.02 μs | 424.72 KiB
99692.40 KiB
99720.84 KiB | 6537
106072
111019
[Day 20](https://adventofcode.com/2021/day/20)
[`src`](https://github.com/adrhill/AdventOfCode2021.jl/blob/main/src/day20.jl) | `load`
`solve1`
`solve2` | 95.07 μs
4516.72 μs
414204.12 μs | 47.55 KiB
4088.33 KiB
375112.95 KiB | 335
43269
4000008