I am really proud of this one, but you'll need to look close to see what is going on here:
The remembered value will get invalidated when bytecode, used to produce this value, is changed. If the static 'calculateMagic' is changed, the using composable is invalidated.