🦀 Rust vs 🐍 Python: Advent of code in Rust - solving day 18/2021 PART 2 (Twitch Live 2022-07-18)
In this episode, we completed PART 1 & 2 of day 18 of Advent of Code y2021 in both Python and Rust.
The previous episode of this stream is available here: https://www.youtube.com/watch?v=JMqipOTE32w
In PART 2 of this exercise we needed to create permutations for a vector and we ended up implementing that in 3 different ways (with benchmarks):
1. nested for loops
2. our own iterator
3. using itertools
Surprisingly, it turned out that method 2 is faster!
If you have any suggestion, we'd love to hear it, so please leave a comment or a create a PR!
For all the source code check out the official GitHub repo: https://github.com/lmammino/rust-advent
For seeing the next episodes live check out our Twitch channel: https://twitch.tv/loige
#Rust #Python #AoC
Other Videos By Luciano Mammino (loige)
Other Statistics
Rust Statistics For Luciano Mammino (loige)
There are 1,740 views in 26 videos for Rust. There's over 1 day worth of watchable video for Rust published on his channel, or 20.00% of the total watchable video on Luciano Mammino (loige)'s YouTube channel.