horde/Pirum — pull request #2 by slusarz (2013-09-25 20:48:26+00:00)
Title: Performance

Maybe this will help. As mentioned in the first commit, I saw pretty close to a 2x increase in speed due to this single change (shaving 150,000 internal PHP calls tends to do that).