Anfonwch hwn fel neges destun: Fast memory-efficient generalized belief propagation