Developer of RuleMiner.jl— a fast data mining library in #julialang:
https://github.com/JaredSchwartz/RuleMiner.jl
This one felt a lot like the work I do in my data mining package-- Trying to limit the performance impact of exponential growth.
Also another recursive(recursive(recursive())) solution.
This one felt a lot like the work I do in my data mining package-- Trying to limit the performance impact of exponential growth.
Also another recursive(recursive(recursive())) solution.
This one was recursion all the way down, with tracking both the total paths and tracking the unique nines in the same function
This one was recursion all the way down, with tracking both the total paths and tracking the unique nines in the same function
Day 9: I was able to unify my solutions by making the block size 1 on the first part and the size of the file on the second.
Day 9: I was able to unify my solutions by making the block size 1 on the first part and the size of the file on the second.
Julia's CartesianIndex objects made this problem a lot easier!
Julia's CartesianIndex objects made this problem a lot easier!
The biggest performance boost I found came from this trick where you use modulo and division to generate/track permutations using just two Int values.
#JuliaLang
The biggest performance boost I found came from this trick where you use modulo and division to generate/track permutations using just two Int values.
#JuliaLang
Gave up trying to be clever and just tuned the step counter maximum manually until the output stopped going down
Gave up trying to be clever and just tuned the step counter maximum manually until the output stopped going down
Lots and lots of broadcasting today.
Definitely not an efficient solution, but hey, it works.
Lots and lots of broadcasting today.
Definitely not an efficient solution, but hey, it works.
I picked up Julia in earnest in June of this year, so I’m still learning new stuff all the time as well!
I picked up Julia in earnest in June of this year, so I’m still learning new stuff all the time as well!
Spent some time optimizing to make my initial solution faster. I was able to speed things up ~40x.
Turns out, quick Julia and fast Julia are not necessarily the same
Spent some time optimizing to make my initial solution faster. I was able to speed things up ~40x.
Turns out, quick Julia and fast Julia are not necessarily the same
Writing regex always feels like writing some sort of magical spell
Writing regex always feels like writing some sort of magical spell
Broadcasting makes the code so clean! Definitely one of my favorite features in Julia
Broadcasting makes the code so clean! Definitely one of my favorite features in Julia