void pugi::xml_document::precompute_document_order (  ) 

Compute document order for the whole tree Sometimes this makes evaluation of XPath queries faster.