You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by lt...@apache.org on 2019/06/25 08:41:44 UTC
[incubator-iotdb] branch feature_async_close_tsfile updated: change
initial size of PrimitiveArrayList to 256
This is an automated email from the ASF dual-hosted git repository.
lta pushed a commit to branch feature_async_close_tsfile
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/feature_async_close_tsfile by this push:
new 0aefcae change initial size of PrimitiveArrayList to 256
0aefcae is described below
commit 0aefcae4f12c2ea6b54f96857746c5a0504e97f2
Author: lta <li...@163.com>
AuthorDate: Tue Jun 25 16:39:29 2019 +0800
change initial size of PrimitiveArrayList to 256
---
iotdb/src/main/java/org/apache/iotdb/db/utils/PrimitiveArrayList.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iotdb/src/main/java/org/apache/iotdb/db/utils/PrimitiveArrayList.java b/iotdb/src/main/java/org/apache/iotdb/db/utils/PrimitiveArrayList.java
index 9a559f1..c488d69 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/utils/PrimitiveArrayList.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/utils/PrimitiveArrayList.java
@@ -27,7 +27,7 @@ import org.apache.iotdb.db.monitor.collector.MemTableWriteTimeCost.MemTableWrite
public class PrimitiveArrayList {
private static final int MAX_SIZE_OF_ONE_ARRAY = 512;
- private static final int INITIAL_SIZE = 128;
+ private static final int INITIAL_SIZE = 512;
private Class clazz;
private List<Object> values;