Skip to content
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 builtinLogicAndSig #12364

Closed
wants to merge 1 commit into from

Conversation

k-ye
Copy link
Contributor

@k-ye k-ye commented Sep 24, 2019

What problem does this PR solve?

Implement vectorized evaluation for builtinLogicAndSig for #12103.

What is changed and how it works?

According to benchmark, about 4 times faster than before:

BenchmarkVectorizedBuiltinOpFunc/builtinLogicAndSig-VecBuiltinFunc-4         	  200000	      9100 ns/op	       0 B/op	       0 allocs/op
BenchmarkVectorizedBuiltinOpFunc/builtinLogicAndSig-NonVecBuiltinFunc-4      	   30000	     38651 ns/op	       0 B/op	       0 allocs/op

Check List

Tests

  • Unit test

@sre-bot sre-bot added the contribution This PR is from a community contributor. label Sep 24, 2019
@k-ye k-ye marked this pull request as ready for review September 24, 2019 15:48
@codecov
Copy link

codecov bot commented Sep 24, 2019

Codecov Report

Merging #12364 into master will decrease coverage by 0.0411%.
The diff coverage is 76.923%.

@@               Coverage Diff                @@
##             master     #12364        +/-   ##
================================================
- Coverage   80.8477%   80.8066%   -0.0412%     
================================================
  Files           454        455         +1     
  Lines         99388      99274       -114     
================================================
- Hits          80353      80220       -133     
- Misses        13256      13268        +12     
- Partials       5779       5786         +7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution This PR is from a community contributor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants