Roughly speaking, they're about the same assuming you're not operating far towards either end of the dynamic range. I have seen elsewhere a suggestion that the camera or processing software can apply a non-linear curve to the raw data so the two cases are not exactly identical, but to even find that difference you'd have to be quite an extreme pixel peeper. It's easy enough to do this test yourself if you really want to.