eco_game@discuss.tchncs.de to Advent Of Code@programming.devEnglish · 7 months ago[2025 Day 7] As long as the result is positive, it can't have overflown, right?discuss.tchncs.deimagemessage-square3linkfedilinkarrow-up142arrow-down12
arrow-up140arrow-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 · 7 months agomessage-square3linkfedilink
minus-squareeco_game@discuss.tchncs.deOPlinkfedilinkarrow-up3·6 months agoI usually use Longs by default too, but this year I mostly got by with Ints, so I’ve stuck to Ints for less memory (my solutions tend to be rather inefficient in that regard .-.)
I usually use Longs by default too, but this year I mostly got by with Ints, so I’ve stuck to Ints for less memory (my solutions tend to be rather inefficient in that regard .-.)