cakephp/cakephp — pull request #3450 by pschiel (2014-05-07 21:43:38+00:00)
Title: avoiding unnecessary merging in load()

When using only one Configure::load (in order to avoid expensive Hash::merge), values are still being inserted one by one using Hash::insert (via static::write).

This modification speeds up my bootstrap.php significantly, load() needs now in average 0.2ms instead of 2ms (which is about 30-50% of bootstrap cumulative time).

What are your thoughts?