You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The raison d'être of the **knncolle** Python package is to enable re-use within ([**pybind11**](https://pybind11.readthedocs.io)-wrapped) C++ code in other Python packages.
105
+
The raison d'être of the **knncolle** Python package is to facilitate the re-use of the neighbor search algorithms by C++ code in other Python packages.
105
106
The idea is that downstream packages will link against the **knncolle** C++ interface so that they can re-use the search indices created by the **knncolle** Python package.
106
-
This allows downstream packages to (i) save time by avoiding the need to re-compile all algorithms and (ii) support more algorithms in **knncolle**extensions.
107
+
This allows developers to (i) save time by avoiding the need to re-compile all desired algorithms and (ii) support more algorithms in extensions to the **knncolle**framework.
107
108
To do so:
108
109
109
110
1. Add `knncolle.includes()` and `assorthead.includes()` to the compiler's include path for the package.
@@ -160,7 +161,7 @@ PYBIND11_MODULE(lib_downstream, m) {
160
161
}
161
162
```
162
163
163
-
A pointer to the `knncolle::Builder` is then be created in Python by the `define_builder()` function, and then passed to C++:
164
+
A pointer to the `knncolle::Builder` can be created by the `define_builder()` function in Python, and then passed to the C++ code:
0 commit comments