Skip to content

Titas22/AdventOfCode.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Julia License: MIT Code Style: Blue ColPrac: Contributor's Guide on Collaborative Practices for Community Packages Hits Repo Size

AdventOfCode.jl

My Advent of Code submissions in Julia.

Just starting with the language so might not be the best solutions.

Will likely have very different style between days since I'm just trying to experiment around with Julia.

Running

include("./scripts/init.jl") # Run once to set up and activate the environment

include("./src/AoC_2023/AoC_2023_xx.jl") # use to run & re-run the actual script

Summary

Day Problem Time Allocated memory Source
01 Trebuchet?! 2.122 ms 2.34 MiB
02 Cube Conundrum 617.900 μs 406.97 KiB
03 Gear Ratios 448.300 μs 585.58 KiB
04 Scratchcards 636.500 μs 507.08 KiB
05 If You Give A Seed A Fertilizer 282.600 μs 251.30 KiB
06 Wait For It 132.700 μs 6.00 KiB
07 Camel Cards 724.800 μs 839.90 KiB
08 Haunted Wasteland 581.200 μs 222.75 KiB
09 Mirage Maintenance 618.600 μs 877.51 KiB
10 Pipe Maze 409.000 μs 260.34 KiB
11 Cosmic Expansion 483.900 μs 48.35 KiB
12 Hot Springs 44.835 ms 18.31 MiB
13 Point of Incidence 547.800 μs 143.09 KiB
14 Parabolic Reflector Dish 26.026 ms 847.11 KiB
15 Lens Library 777.600 μs 1.52 MiB
16 The Floor Will Be Lava 14.321 ms 5.43 MiB
17 Clumsy Crucible 720.349 ms 64.69 MiB
18 Lavaduct Lagoon 344.800 μs 256.59 KiB
19 Aplenty 1.413 ms 948.12 KiB
20 Pulse Propagation 23.604 ms 30.82 MiB
21 Step Counter 17.289 ms 21.03 MiB
22 Sand Slabs 9.125 ms 4.41 MiB
23 A Long Walk - s - KiB
24 Never Tell Me The Odds - s - KiB
25 Snowverload - s - KiB

The benchmarks have been measured on this machine:

Julia Version 1.10.0
Platform Info:
    Model:  MSI GE66 Raider 10SFS
    OS:     Windows 11 Home 64-bit (10.0, Build 22621)
    CPU:    Intel(R) Core(TM) i9-10980HK CPU @ 2.40GHz (16 CPUs), ~3.1GHz
    GPU:    NVIDIA GeForce RTX 2070 Super
    Memory: 64.0 GB DDR4-3200 SDRAM

    LIBM:   libopenlibm
    LLVM:   libLLVM-15.0.7 (ORCJIT, skylake)

About

My Advent of Code submissions in Julia.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages