KNP Paginator Eventsubscriber to paginate stuff fast.
The class SimplerPaginationSubscriber is a listener on the 'knp_pager.items'-event.
Internally it uses the DataDogPagerBundle to count and slice the resultsets.
At the moment the SimplerPaginationSubscriber is only a service and is not connected to Symfony's event-system. This can easily be achieved by extending this bundle and writing a CompilerPass.
For now it can be used like this, e.g. in your Controller:
$this->get('knp_paginator')->subscribe($this->get('samson_simple_knppaginator.subscriber.simpler_pagination_subscriber'));
$this->get('knp_paginator')->paginate($qb... );