I optimized BitmapReader in this PR and see performance uplift of BitmapReader test case. I didn't check other test cases as this change looks trivial.
I reviewed all test cases just now and see big performance drop of 4 cases, details at PR link.
I also compared performance of code using BitmapReader, no obvious changes found. Looks we should revert that PR.