eco_game@discuss.tchncs.de to Advent Of Code@programming.devEnglish · 2 months ago[2025 Day 7] As long as the result is positive, it can't have overflown, right?discuss.tchncs.deimagemessage-square3linkfedilinkarrow-up143arrow-down12
arrow-up141arrow-down1image[2025 Day 7] As long as the result is positive, it can't have overflown, right?discuss.tchncs.deeco_game@discuss.tchncs.de to Advent Of Code@programming.devEnglish · 2 months agomessage-square3linkfedilink
minus-squareDeebster@programming.devlinkfedilinkEnglisharrow-up3·2 months agoI normally use the “most appropriate” size, but this year I’m just using usize everywhere and it’s a lot more fun. So far I haven’t found any problem where it ran too slow and the problem was in my implementation and not my algorithm choice.
I normally use the “most appropriate” size, but this year I’m just using usize everywhere and it’s a lot more fun. So far I haven’t found any problem where it ran too slow and the problem was in my implementation and not my algorithm choice.