Chris Cain:

One tiny place of improvement for your code, however, is if you changed it to `static immutable offset = ...;` because that helps the compiler know to do that operation at compile time.

The idiomatic way to do that is to use "enum offset = ...;".

Bye,
bearophile

Reply via email to