RNG Crate Patch#167
Conversation
|
Having pyo3 in pecos-rng should be re-exported in the |
latest changes responds to this |
|
Having pyo3 in pecos-rng should be re-exported in the |
latest changes responds to this |
This patch refactors the previous workflow of building the RNG library, which started from a C library which was then used to generate a a Rust library to then finally generate python bindings. Now, it uses a single Rust RNG crate, from which Python bindings are directly generated.
Additionally, the global RNG State is no longer static nor global, so any weird behavior involving threads should be nullified. This patch is inherently responding to #166 as well.