Skip to content
/ aoc2024 Public

AoC 2024 in Rust. Focus is performance (again).

License

Notifications You must be signed in to change notification settings

tsatke/aoc2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2024

Rust. Performance.

Rules:

  • no input pre-processing
  • portable rust (if you're reading this, you can probably execute it on your machine)
  • measured with criterion (avg time)
  • unstable features allowed

Benchmarks

Criterion, MacBook Air M2 2022.

Day Part 1 Part 2 Combined Time
1 20µs 14µs - 34µs
2 35µs 61µs - 96µs
3 9µs 13µs - 22µs
4 37µs 17µs - 54µs
5 47µs 72µs - 119µs
6 18µs 6000µs - 6018µs
7 94µs 205µs - 299µs
8 4µs 5µs - 9µs
9 30µs - -

About

AoC 2024 in Rust. Focus is performance (again).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages