OpenSearch/modules/lang-painless
Koen De Groote 878ae8eb3c Size lists in advance when known
When constructing an array list, if we know the size of the list in
advance (because we are adding objects to it derived from another list),
we should size the array list to the appropriate capacity in advance (to
avoid resizing allocations). This commit does this in various places.

Relates #24439
2017-05-12 10:36:13 -04:00
..
licenses merge master 2016-06-11 13:23:17 -04:00
src Size lists in advance when known 2017-05-12 10:36:13 -04:00
build.gradle Test: Move flag to painless tests (#24494) 2017-05-04 13:11:09 -04:00