Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of BenMorel:
This is a suggested simple performance improvement for PersistentCollection.
At the moment, isEmpty() always fully loads the collection. By changing the code to rely on count(), which makes advantage of extra lazy fetch when the collection is not loaded, this saves the overhead of loading the entire collection when one just wants to check whether the collection is empty.
Comment created by @doctrinebot:
A related Github Pull-Request [GH-912] was closed:
Issue was closed with resolution "Fixed"