cactus icon indicating copy to clipboard operation
cactus copied to clipboard

Functorise vertex header on page header

Open icristescu opened this issue 5 years ago • 1 comments

For now the dependency of the vertex header on the page header is implicit.

icristescu avatar Jul 30 '21 13:07 icristescu

Long version : Store.Page.kind relies on the fact that the beginning of the header of any page (node or leaf) follows the same format -- and in particular contains a Kind field. This invariant is implicit, as Store.Page and Vertex_header separately implements a deserialisation protocol, which happens to be mutually consistent.

gbelouze avatar Aug 04 '21 12:08 gbelouze