Some thoughts on possible improvements to Revlog.

Things that could use fixing:

The current index layout is:

Possible future layout: