[hibernate-issues] [JIRA] (HHH-15479) Improve ListresultConsumer duplication check method performance