More to the point, the effort that went into making the enclosure was probably 2000+ calories--more than the yams inside. I think early horticulture is basically: Plant edible food with minimal fuss, and eat what comes up. If wild pigs show up, well, free protein.