Michael Smith has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21533


Change subject: IMPALA-13166: Optimize ExprSubstitutionMap allocation
......................................................................

IMPALA-13166: Optimize ExprSubstitutionMap allocation

Allocates HashMap and Lists with known sizes to avoid resizing them
during initial construction. HashMap uses default capacity of 16 and
load factor of .75, and we increase initial capacity as needed.

Has no measurable impact on performance, but may help with garbage
collection.

Change-Id: If5e56401508f30e3066b1a3758d69d89a288adcd
---
M fe/src/main/java/org/apache/impala/analysis/ExprSubstitutionMap.java
1 file changed, 10 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/33/21533/1
--
To view, visit http://gerrit.cloudera.org:8080/21533
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If5e56401508f30e3066b1a3758d69d89a288adcd
Gerrit-Change-Number: 21533
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <[email protected]>

Reply via email to