pkitslaar.bsky.social
@pkitslaar.bsky.social
Waisted too much time thinking the lru_cache by default had maxsize == None, while it was 128. One line change and code went flying.
December 11, 2024 at 7:27 AM
*spoiler*
December 11, 2024 at 7:27 AM
Now down to 40 seconds. Could still be fundamentally optimized I feel. But let's stop here github.com/pkitslaar/Ad...
AoC 2024 Day 07 - speed improvements by re-using Part1 results · pkitslaar/AdventOfCode@b3fb1a5
github.com
December 7, 2024 at 9:00 AM
Create speed improvement by reusing previous traces
December 6, 2024 at 9:13 AM
Initial solution for part2 is a bit brute force. Maybe I will try to optimize github.com/pkitslaar/Ad...
AdventOfCode/2024/day 06/day_06.py at master · pkitslaar/AdventOfCode
Solutions to Advent of Code puzzles. Contribute to pkitslaar/AdventOfCode development by creating an account on GitHub.
github.com
December 6, 2024 at 7:23 AM