-
-
Notifications
You must be signed in to change notification settings - Fork 913
Closed
Labels
BugSomething isn't working.Something isn't working.PerformanceIssue or pull request addressing performance concerns and/or optimizations.Issue or pull request addressing performance concerns and/or optimizations.
Description
Description
Computing the beta distribution is really slow when alpha >= 1.5 and beta <= 1. For example, computing the beta distribution for alpha = 1001
, and beta = 1
, takes up to 8 seconds.
Any suggestion on how to make it faster?
Reproduction
import iterator from '@stdlib/random-iter-beta';
iterator(1001, 1, {iter: 10000, seed: 1234});
Version
0.0.5
Environments
Node.js
Node.js / npm Version
v14.17.1
Platform
OSX
Checklist
- Read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
Metadata
Metadata
Assignees
Labels
BugSomething isn't working.Something isn't working.PerformanceIssue or pull request addressing performance concerns and/or optimizations.Issue or pull request addressing performance concerns and/or optimizations.