Closed pmccarren closed 9 years ago
@stevewest any objections?
I don't have an issue with this, it's certainly not the worst workaround that I have seen and if it can make the ORM perform better then I'm happy for it to be merged.
Had to revert it, this change made results global, which completely f'd up the results if hydrate() had to iterate (which is does when eager loading relations).
When pulling a large number of records the ORM would get exponentially slower. The issue was tracked down to a PHP limitation. We filed https://bugs.php.net/bug.php?id=68624
PHP developer suggests issue will be resolved in PHP 7