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
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,18 @@ pip install ripser
55
55
56
56
If you are having trouble installing, please let us know!
57
57
58
+
## Optional dependency
59
+
60
+
Ripser.py when compiled from source can have a *steroid*<sup>1</sup> shot by replacing the standard `unordered_map` from the STL by one of the fastest implementation available: [robin_hood](https://github.com/martinus/robin-hood-hashing). Benchmarking of Ripser.py using the `robin_hood` implementation showed speed-ups up to **30%**.
61
+
62
+
To be able to use `robin_hood` instead of STL, you only need to clone the repository containing the implementation:
You'll then be able to use Ripser.py as in the previous examples but compiled directly from sources.
82
+
In order to obtain the best experience in performances when compiling from sources, you'll need an additional library, robin_hood_hashmap. To be able to use compile with this library enable, do:
We welcome contributions of all shapes and sizes. There are lots of opportunities for potential projects, so please get in touch if you would like to help out. Everything from an implementation of your favorite distance, notebooks, examples, and documentation are all equally valuable so please don’t feel you can’t contribute.
73
110
74
111
To contribute please fork the project make your changes and submit a pull request. We will do our best to work through any issues with you and get your code merged into the main branch.
0 commit comments