Comment on To cosmic shreds, I say!

<- View Parent
KairuByte@lemmy.dbzer0.com ⁨16⁩ ⁨hours⁩ ago

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.

source
Sort:hotnewtop