Search
71 results for “ryguw”
-
Managed to reduce the exec time for 2023 day 23 part 2 from 513 seconds (~8.5 mins) to a stellar 0.310 seconds. Looking back at my commits these were the biggest leaps:
- By far the biggest leap: Shrink unique nodes to <= 64, then instead of a map simply use a `uint64` bitmask for boolean lookups (visited or not). Saves a lot of map accesses & assignments
- Prefer `int` when doing most calculations and comparisons, seems super optimized in the Go runtime -
That said, running the exact squeezed single-core-optimized algorithm, but for multiple inputs on multiple cores simultaneously with 5 lines of code, feels absolutely awesome! 😎
-
That said, running the exact squeezed single-core-optimized algorithm, but for multiple inputs on multiple cores simultaneously with 5 lines of code, feels absolutely awesome! 😎
-
That said, running the exact squeezed single-core-optimized algorithm, but for multiple inputs on multiple cores simultaneously with 5 lines of code, feels absolutely awesome! 😎
-
That said, running the exact squeezed single-core-optimized algorithm, but for multiple inputs on multiple cores simultaneously with 5 lines of code, feels absolutely awesome! 😎
-
After doing #AoC2023 I like to think I know #Golang quite well now… I miss ternaries. Although famous, nobody actually uses the go keyword. Pointers are fun, I missed them. Tools for testing and profiling are keys to mastering our craft. I deeply want a sound type system like that of #Rust and #TypeScript.
-
After doing #AoC2023 I like to think I know #Golang quite well now… I miss ternaries. Although famous, nobody actually uses the go keyword. Pointers are fun, I missed them. Tools for testing and profiling are keys to mastering our craft. I deeply want a sound type system like that of #Rust and #TypeScript.
-
After doing #AoC2023 I like to think I know #Golang quite well now… I miss ternaries. Although famous, nobody actually uses the go keyword. Pointers are fun, I missed them. Tools for testing and profiling are keys to mastering our craft. I deeply want a sound type system like that of #Rust and #TypeScript.
-
After doing #AoC2023 I like to think I know #Golang quite well now… I miss ternaries. Although famous, nobody actually uses the go keyword. Pointers are fun, I missed them. Tools for testing and profiling are keys to mastering our craft. I deeply want a sound type system like that of #Rust and #TypeScript.
-
Love seeing the first of my article series on analyzing the full #stackoverflow data dump with #DuckDB and #MotherDuck published. Thanks @ryguyrg
https://motherduck.com/blog/exploring-stackoverflow-with-duckdb-on-motherduck-1/