If you try to re-normalize this resultset, you can actually see how many useless de-duplication operation have to happen. That is because the User ocramius@gmail.com has multiple active sessions on multiple devices, as well as multiple social accounts. SLOW! The hydration operations on this resultset are O(n * m * q), which I'm going to simply generalize as O(n ^ m), with n being the amount of res
![Doctrine ORM Hydration Performance Optimization](https://cdn-ak-scissors.b.st-hatena.com/image/square/a09ed8f89b0bcd52c384c809c5e62a00b5ea2549/height=288;version=1;width=512/http%3A%2F%2Focramius.github.io%2Fimg%2Fposts%2F2015-04-13-doctrine-orm-optimization-hydration%2Fboy-that-escalated-quickly.jpg)