Smarter allocation prediction for HQLQueryPlan.performList

Description

Method org.hibernate.engine.query.spi.HQLQueryPlan.performList(QueryParameters, SessionImplementor) is currently causing an high amount of Array resizes, because it allocates a default sized ArrayList.
It actually could try guessing a bit better as we have some information on the query which is being processed.

Activity

Show:

Brett MeyerFebruary 18, 2014 at 8:03 PM

Thanks Sanne!

Fixed

Details

Assignee

Reporter

Labels

Fix versions

Priority

Created February 18, 2014 at 1:29 AM
Updated May 5, 2022 at 10:52 AM
Resolved May 5, 2022 at 10:52 AM