If you want to avoid unsafe_load, and if performance is important, you might be better off with
bswap(reinterpret(UInt256, (x))[1])
rather than
reinterpret(UInt256, reverse(sha256(x)))[1]
If you want to avoid unsafe_load, and if performance is important, you might be better off with
bswap(reinterpret(UInt256, (x))[1])
rather than
reinterpret(UInt256, reverse(sha256(x)))[1]