fossilesque@mander.xyz to Science Memes@mander.xyzEnglish · 1 month agoTo cosmic shreds, I say!mander.xyzimagemessage-square71fedilinkarrow-up1530
arrow-up1530imageTo cosmic shreds, I say!mander.xyzfossilesque@mander.xyz to Science Memes@mander.xyzEnglish · 1 month agomessage-square71fedilink
minus-squareKairuByte@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up1·1 month agoConstants are known at compile time, and therefore are more performant as they don’t need to be reasoned about at runtime. These days it’s not much of a performance boost but never a bad idea to use constants where appropriate.
Constants are known at compile time, and therefore are more performant as they don’t need to be reasoned about at runtime.
These days it’s not much of a performance boost but never a bad idea to use constants where appropriate.