-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #1351 #1362
Fix #1351 #1362
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1362 +/- ##
============================================
- Coverage 93.76% 93.75% -0.01%
Complexity 474 474
============================================
Files 2 2
Lines 6961 6968 +7
Branches 1869 1872 +3
============================================
+ Hits 6527 6533 +6
Misses 147 147
- Partials 287 288 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR!
This looks pretty good. I could merge this as is, but can you take a look at my comments?
There are some small enhancements that would make it even better.
Hi @remkop, thanks for your kind advice. We have modified the codes according to your suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there, I found one more optimization, please check...
Merged. Thank you for the contribution! 👍 |
Thanks @remkop for merging. |
I updated the release notes now. Thank you again for the contribution! |
…ates` optimization
…onCandidates` optimization" This reverts commit 05d952d.
…onCandidates` optimization" This reverts commit 05d952d.
Hello, I'm with @sustc11810424 and @Lanninger08 to fix issue #1351.
If we've understood it right, we just need to avoid iterating through
completionCandidates
unnecessarily by first checking any existence of${COMPLETION-CANDIDATES}
.A very simple solution with a test case is presented in the PR.