mykl@lemmy.world to Advent Of Code@programming.dev · 1 year ago[2023 Day 5] I might have broken the one second guideline a littlelemmy.worldimagemessage-square7fedilinkarrow-up123arrow-down10
arrow-up123arrow-down1image[2023 Day 5] I might have broken the one second guideline a littlelemmy.worldmykl@lemmy.world to Advent Of Code@programming.dev · 1 year agomessage-square7fedilink
minus-squareSteveDinn@lemmy.calinkfedilinkarrow-up5·1 year agoMy first version ran for about 90 minutes. My second version, for about 45 seconds. I’m sure there’s more optimization to be done, but that was good enough for me :)
minus-squareperviouslyiner@lemm.eelinkfedilinkEnglisharrow-up4·1 year agooptimised in most of an evening, runs in 0.06 seconds - well at least it will be quick for all of the (one) times that I have to run it!
My first version ran for about 90 minutes. My second version, for about 45 seconds. I’m sure there’s more optimization to be done, but that was good enough for me :)
optimised in most of an evening, runs in 0.06 seconds - well at least it will be quick for all of the (one) times that I have to run it!