This should be an `enum` I think. `immutable` will work, but defers calculation until it is requested later. `enum` will also not rely on compiler optimizations to remove the unused local variable from the stack.