Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarrison authored Dec 6, 2021
1 parent f2de0b5 commit e40273d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ numpy_rng = np.random.Generator(p)
%timeit parallel_rng.standard_normal(size=10**8, dtype=np.float32, nthread=128) # 36.6 ms
```

Note that the `parallel_rng` is slower when using a single thread, because the parallel implementation requires a slower algorithm in some cases (this is especially noticeable for float64 and normals)
Note that the `parallel_rng` is slower than Numpy when using a single thread, because the parallel implementation requires a slower algorithm in some cases (this is especially noticeable for float64 and normals)

## Status
The code works and is [reasonably well tested](./test_parallel_numpy_rng.py) so is probably ready for use. I haven't decided on a distribution method yet; maybe it will just live here, or maybe it's worth spinning out into its own PyPI repo.
Expand Down

0 comments on commit e40273d

Please sign in to comment.