Efficiency In Competitive And Cooperative Foraging