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

Use memory-order ravel in compute_statistic() #2056

Merged
merged 1 commit into from
Aug 13, 2019

Conversation

tiagopereira
Copy link
Contributor

When data written in Fortran order are being loaded, the default behaviour of ravel() is to use C order, leading to very slow performance. This PR uses order="K" on ravel(), so that compute_statistic works better with Fortran-order files.

@astrofrog astrofrog merged commit b7f36b2 into glue-viz:master Aug 13, 2019
astrofrog added a commit that referenced this pull request Aug 13, 2019
astrofrog added a commit that referenced this pull request Aug 22, 2019
Use memory-order ravel in compute_statistic()
astrofrog added a commit that referenced this pull request Aug 22, 2019
javerbukh pushed a commit to javerbukh/glue that referenced this pull request Jan 24, 2023
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