I have been working on a performance improvement to
DboSource::_mergeHasMany() and I wanted to get some input from other
developers so that maybe this can be implemented soon in to CakePHP. I
had actually hoped to get this ready and tested before the next
release of 2.2 but I haven't had time.
I know in my own application, retrieving a large amount of data, that
this change has improved performance significantly. I am not sure yet
how affects performance for smaller data sets.
You can find my changes here:
https://github.com/thegallagher/cakephp/compare/master...faster-mergeHasMany
Does anyone have any concerns with these changes that I may be able to
resolve before I submit a pull request?