Complexity computation for compact 3-manifolds via crystallizations and Heegaard diagrams.