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.
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.