Skip to content

ahmadkaouk/advent-of-code-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2021

My Advent of Code 2021 solutions in the Rust programming language. I try to develop an elegant, compact and fast solution using Idiomatic Rust.

Usage

# Run all the days
cargo run --release

#Run a specific day
cargo run --release --bin day01

Benchmark

Run

cargo bench

Timing

Problem Part 1 Part 2
Day 1 Problem 1 0.048 ms 0.051 ms
Day 2 Problem 2 0.040 ms 0.04l ms

The benchmarks are measured with the unstable bench feature of Rust using my Macbook Pro 13' 2015

About

My Advent of Code 2021 Solutions in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages