-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
expression:implement vectorized evaluation for builtinInstrBinarySig #13446
Conversation
Thanks for your contribution. If your PR get merged, you will be rewarded 50 points. |
Codecov Report
@@ Coverage Diff @@
## master #13446 +/- ##
===========================================
Coverage 80.3866% 80.3866%
===========================================
Files 472 472
Lines 115100 115100
===========================================
Hits 92525 92525
Misses 15370 15370
Partials 7205 7205 |
@wshwsh12 I'm so sorry I delete your comment by accident.I have messaged you at the slack. |
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.
LGTM
expression/builtin_string_vec.go
Outdated
substrI := substr.GetString(i) | ||
idx := strings.Index(strI, substrI) | ||
if idx == -1 { | ||
res[i] = 0 |
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.
This state seems like equivalent to
res[i] = int64(idx + 1)
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.
I will remove it.Do I need to change the non-vec func?It has it also.
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.
I think we don't need change that one
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.
done.
6583ef1
to
b895335
Compare
LGTM |
/run-all-tests |
@icditwang merge failed. |
/run-integration-copr-test |
@icditwang complete task #12103 and get 50 score, currerent score 100. |
PCP #12103
What problem does this PR solve?
implement vectorized evaluation for builtinInstrBinarySig
What is changed and how it works?
Check List
Tests