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

Support JRuby #27

Open
mrkn opened this issue Jan 11, 2020 · 2 comments
Open

Support JRuby #27

mrkn opened this issue Jan 11, 2020 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@mrkn
Copy link
Member

mrkn commented Jan 11, 2020

For supporting JRuby, we first need to let enumerable-statistics support JRuby.

@mrkn
Copy link
Member Author

mrkn commented Jan 11, 2020

@mrkn mrkn added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jan 11, 2020
@schneems
Copy link
Contributor

I think this could be somewhat related to #31. If we made a pure ruby version of this library then it would support Jruby out of the box. Then the only two other places (i think) in here that are actually using enumerable-statistics are Array#histogram and Array#percentile.

I've already taken the liberty of writing a pure ruby version of Array#histogram here github.com/zombocom/mini_histogram. It matches the interface provided by enumerable-statistics on purpose. Array#percentile would be pretty easy to code up.

@mrkn mrkn added this to the Version 0.1.0 milestone Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants