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

lowertriangle() with memory preallocation #328

Merged
merged 1 commit into from
May 27, 2020
Merged

Conversation

vlepori
Copy link
Contributor

@vlepori vlepori commented May 15, 2020

As per #322, rewrote the loop to first allocate the df and then fill it rather than rbind()

As per ggobi#322, rewrote the loop to first allocate the df and then fill it rather than rbind()
@vlepori
Copy link
Contributor Author

vlepori commented May 15, 2020

Getting factors to play nicely was trickier than expected, but hopefully should work now. Seems to be approx 2 to 5 times faster now, depending on df size.

@schloerke schloerke added this to the 2.0.0 milestone May 19, 2020
@schloerke schloerke merged commit ac2cf98 into ggobi:master May 27, 2020
@schloerke
Copy link
Member

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants