Quentin

Quentin

@qsantos.fr

馃嚝馃嚪 French 馃 Rust enthusiast 馃嚡馃嚨 Japanese learner (N1) 馃摶 Interested in amateur radio Programming stuff (not just Rust): https://github.com/qsantos

31 followers23 following61 posts

View full thread

I still would not trust it blindly, but it is definitely useful for findings things you can then check for yourself.

Solved #AdventOfCode day 3 part 1 in one pass in #Rustlang. That code is so ugly. Part 2 is worse. And not passing for my input yet. Oh, well, I'll make it work. _Someway_

Okay, turns out `pos < next_dont.unwrap_or(next_mul)` is not the same as `next_do < next_dont && pos < next_mul`. Should have been more careful with autocompleting that one with Copilot.

The first days of #AdventOfCode are supposed to be easy. So, of course, I am over engineering to aim for best performance #rustlang

You are up to date.