Hi all,
I did a trivial test, in case anybody's interested, in the unboxed sum idea approach, only considering the Int# branch.
It seems to be on par with Int, which is pretty cool because I wasn't sure what to expect. Assuming I didn't make a horrible mistake.
B = 272.2 μs
Int = 270.9 μs
Integer = 7.860 ms
Cheers,
Chris