This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/tsfile.git
The following commit(s) were added to refs/heads/develop by this push:
new ca8f6e0c Optimize SeriesScanUtil by memorizing the order time and
satisfied information for each Seq and Unseq Resource (#58)
ca8f6e0c is described below
commit ca8f6e0cf01501ab08bdb807b5f24527c4f0715e
Author: Jackie Tien <[email protected]>
AuthorDate: Mon Apr 1 20:59:59 2024 +0800
Optimize SeriesScanUtil by memorizing the order time and satisfied
information for each Seq and Unseq Resource (#58)
---
tsfile/src/main/java/org/apache/tsfile/file/metadata/PlainDeviceID.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/tsfile/src/main/java/org/apache/tsfile/file/metadata/PlainDeviceID.java
b/tsfile/src/main/java/org/apache/tsfile/file/metadata/PlainDeviceID.java
index f8ce3a6c..eb922521 100644
--- a/tsfile/src/main/java/org/apache/tsfile/file/metadata/PlainDeviceID.java
+++ b/tsfile/src/main/java/org/apache/tsfile/file/metadata/PlainDeviceID.java
@@ -35,7 +35,7 @@ public class PlainDeviceID implements IDeviceID {
private static final long INSTANCE_SIZE =
RamUsageEstimator.shallowSizeOfInstance(PlainDeviceID.class)
+ RamUsageEstimator.shallowSizeOfInstance(String.class);
- String deviceID;
+ private final String deviceID;
public PlainDeviceID(String deviceID) {
this.deviceID = deviceID;