Our great sponsors
-
advent-of-code-2022
Solutions to Advent of Code 2022 written in Rust as leraning exercise (by kwiat1990)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Code of my solutions can be found here: https://github.com/kwiat1990/advent-of-code-2022/blob/main/src/bin/08.rs (for other solution please check file history)
Inspired by a blog post of Nicky Meuleman and his solution for this puzzle: https://github.com/NickyMeuleman/scrapyard/blob/main/advent_of_code/2022/src/day_08.rs I refactored my code and it turned out to be ~7-10 times slower than the initial one (700Ξs vs. 8ms). But hey, the code looks better now and it's more concise.