cakephp/cakephp — pull request #4786 by hperrin (2014-10-01 18:30:22+00:00)
Title: Improvements to Hash::expand and Hash::merge.

Because of the recursion in these functions, processing very large
arrays would take a very long time. I rewrote the functions to
eliminate any unnecessary recursion and function calls. Large arrays
are now processed much faster.