composer/composer — pull request #1880 by AmyStephen (2013-05-08 03:42:07+00:00)
Title: Performance: Located Array

I added an array that is used to store files and namespace matches in the loadClass method. This array is first searched prior to the findFile method to see if the class file has already been loaded. If it has, the method exits with a true. If not, the findFile method is invoked. If findFile returns a match, that match is stored in the array.

I'll leave this to those of you who understand this class better than I do to decide if this is a helpful improvement, or not. I thought I'd share it for your consideration.

Thanks for your work!