concrete5/concrete5 — pull request #720 by mlocati (2012-10-26 15:09:00+00:00)
Title: Optimize Concrete5_Library_Loader::autoloadCore

The autoloadCore static method of Concrete5_Library_Loader can be
optimized, avoiding useless preg_match calls: if the first preg_match
is successful we don't have to check the following ones.

Furthermore `elseif` is slightly faster than `else if`.