Closed jmazanec15 closed 3 years ago
Merging #319 (2e8ae10) into master (5a75432) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #319 +/- ##
=========================================
Coverage 80.71% 80.71%
Complexity 396 396
=========================================
Files 62 62
Lines 1504 1504
Branches 136 136
=========================================
Hits 1214 1214
Misses 241 241
Partials 49 49
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 5a75432...2e8ae10. Read the comment docs.
Closing PR. Will make changes when we merge faiss-support into main.
Issue #, if available:
Description of changes: This PR does a bit of refactoring of the jni library so that code can be re-used when adding support for other libraries. It takes out common code related to exception handling and JNI translations into a separate jni_util module.
Additionally, it cleans up a few other things such as naming, style, exception checking, clang-tidy warnings. For naming of utility functions, I decided to follow Google's conventions here: https://google.github.io/styleguide/cppguide.html#Function_Names. Overall, this change may slightly improve performance, but not significantly.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.