Skip to content

chore: cmn algorithm optimization#2134

Merged
zyxxoo merged 2 commits intomasterfrom
zy_dev2
Mar 1, 2023
Merged

chore: cmn algorithm optimization#2134
zyxxoo merged 2 commits intomasterfrom
zy_dev2

Conversation

@zyxxoo
Copy link
Contributor

@zyxxoo zyxxoo commented Feb 27, 2023

No description provided.

@codecov
Copy link

codecov bot commented Feb 27, 2023

Codecov Report

Merging #2134 (9020ddf) into master (271d72c) will decrease coverage by 3.45%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #2134      +/-   ##
============================================
- Coverage     68.59%   65.14%   -3.45%     
- Complexity      676      977     +301     
============================================
  Files           481      481              
  Lines         39701    39704       +3     
  Branches       5580     5581       +1     
============================================
- Hits          27233    25866    -1367     
- Misses         9821    11272    +1451     
+ Partials       2647     2566      -81     
Impacted Files Coverage Δ
...he/hugegraph/backend/tx/GraphIndexTransaction.java 83.71% <100.00%> (+0.05%) ⬆️
...hugegraph/backend/store/raft/RaftStoreClosure.java 0.00% <0.00%> (-100.00%) ⬇️
...ugegraph/backend/store/rocksdb/RocksDBMetrics.java 0.00% <0.00%> (-85.87%) ⬇️
...gegraph/backend/store/rocksdb/RocksDBFeatures.java 4.16% <0.00%> (-83.34%) ⬇️
...pache/hugegraph/backend/store/raft/RaftResult.java 0.00% <0.00%> (-81.25%) ⬇️
...ache/hugegraph/backend/store/raft/RaftContext.java 0.00% <0.00%> (-81.16%) ⬇️
...hugegraph/backend/store/raft/RaftBackendStore.java 0.00% <0.00%> (-73.12%) ⬇️
...hugegraph/backend/store/raft/rpc/RpcForwarder.java 0.00% <0.00%> (-71.19%) ⬇️
...ugegraph/backend/store/raft/StoreStateMachine.java 0.00% <0.00%> (-65.77%) ⬇️
.../backend/store/raft/rpc/StoreCommandProcessor.java 0.00% <0.00%> (-65.22%) ⬇️
... and 48 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

return callback.apply(result);
Boolean apply = callback.apply(result);
while (index < result.size()) {
result.remove(index);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when to cause this behavior?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can run the test:
Screenshot2023_02_28_093728
the result is:
Screenshot2023_02_28_093808

@zyxxoo zyxxoo merged commit 1d52476 into master Mar 1, 2023
@zyxxoo zyxxoo deleted the zy_dev2 branch March 1, 2023 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants