shizy818 commented on code in PR #14265:
URL: https://github.com/apache/iotdb/pull/14265#discussion_r1867236703
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/TimLongTVList.java:
##########
@@ -114,9 +114,9 @@ public void reverseRange(int lo, int hi) {
hi--;
while (lo < hi) {
long loT = getTime(lo);
- long loV = getLong(lo);
+ int loV = getValueIndex(lo);
long hiT = getTime(hi);
- long hiV = getLong(hi);
+ int hiV = getValueIndex(hi);
set(lo++, hiT, hiV);
set(hi--, loT, loV);
}
Review Comment:
https://github.com/shizy818/iotdb/commit/24ba8757e9570b2fd5e26c00370f58f8f11b3443
之前是把这些相同的方法抽取出来了的,上周比较master分支和单独这个改动,居然性能下降了,所以新提交暂时我没把他们提取出来。今天发现是插入测试没弄对,测试稳定后,我把这块加回来看看。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]