I'm not sure how that would improve perf.

This checkout should only be used as an assertion, see my bellow example.