diff --git a/src/main/java/com/amazon/ion/impl/macro/EExpressionArgsReader.java b/src/main/java/com/amazon/ion/impl/macro/EExpressionArgsReader.java index 15bb6da65..a3bc1296f 100644 --- a/src/main/java/com/amazon/ion/impl/macro/EExpressionArgsReader.java +++ b/src/main/java/com/amazon/ion/impl/macro/EExpressionArgsReader.java @@ -25,8 +25,9 @@ public abstract class EExpressionArgsReader { private final ReaderAdapter reader; - // Reusable sink for expressions. - protected final List expressions = new ArrayList<>(16); + // Reusable sink for expressions. The starting size of 64 is chosen so that growth is minimized or avoided for most + // e-expression invocations. + protected final List expressions = new ArrayList<>(64); /** * Constructor.