Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modularize the dependency on statistics library #23

Open
harendra-kumar opened this issue Jan 25, 2022 · 0 comments
Open

Modularize the dependency on statistics library #23

harendra-kumar opened this issue Jan 25, 2022 · 0 comments

Comments

@harendra-kumar
Copy link
Member

We should plan to migrate to using streamly for most pruposes. Streamly has faster routines for some tabular processing required in this package (e.g. sort, intersection, difference, split). Also, streamly has basic statistics functionality as well, streamly-statistics has more. Especially, once we have streamly-core, streamly will be a lightweight dependency depending only on boot libraries.

statistics is a heavy dependency and we do not need it often. We can add a flag so that the core package can be compiled without having to use statistics. In the core package all that we need is mean/median/stddev which we can get from streamly. For now, we can keep using these from statistics but modularize it in such a way so that statistics can be replaced. We can add a build flag to include more advanced statistics stuff that depends on the statistics library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant