-
Notifications
You must be signed in to change notification settings - Fork 12
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
Space Optimization Fix #175
Conversation
Codecov Report
@@ Coverage Diff @@
## main #175 +/- ##
==========================================
+ Coverage 93.46% 93.54% +0.07%
==========================================
Files 40 40
Lines 2218 2338 +120
==========================================
+ Hits 2073 2187 +114
- Misses 145 151 +6
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.
Looks good! small comments
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.
Great job!
d833534
to
5bf131e
Compare
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.
small comment
also, please elaborate on all the modifications done in this PR in the PR description
* improving functions * improving logic of optimization choosing * first metrics benchmark * improved benchmark * added tests for all new functions * improved benchmark and added comments * added logic explanation * fixing alignment * added bm_spaces to "make benchmark" run * added arch check in compile time * refactor benchmark file * comment fix
* improving functions * improving logic of optimization choosing * first metrics benchmark * improved benchmark * added tests for all new functions * improved benchmark and added comments * added logic explanation * fixing alignment * added bm_spaces to "make benchmark" run * added arch check in compile time * refactor benchmark file * comment fix
* improving functions * improving logic of optimization choosing * first metrics benchmark * improved benchmark * added tests for all new functions * improved benchmark and added comments * added logic explanation * fixing alignment * added bm_spaces to "make benchmark" run * added arch check in compile time * refactor benchmark file * comment fix
* improving functions * improving logic of optimization choosing * first metrics benchmark * improved benchmark * added tests for all new functions * improved benchmark and added comments * added logic explanation * fixing alignment * added bm_spaces to "make benchmark" run * added arch check in compile time * refactor benchmark file * comment fix
TL;DR
This PR adds few missing functions for the optimizations (SIMD 4) and improves the logic of choosing the distance function
This PR also includes a benchmark for the distance functions.
This PR is revisiting the optimized distance functions and improve them
L2_space.cpp
orIP_space.cpp
for full details