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

PERFORMANCE: Check for sortedness via ALTREP, if available #192

Open
HenrikBengtsson opened this issue Dec 2, 2020 · 0 comments
Open

PERFORMANCE: Check for sortedness via ALTREP, if available #192

HenrikBengtsson opened this issue Dec 2, 2020 · 0 comments

Comments

@HenrikBengtsson
Copy link
Owner

Similar to checking for NAs via ALTREP (Issue #191), we could improve performance by checking via ALTREP whether or not values are already sorted and in what direction. If we know values are already sorted, we can skip sorting them in functions that need sorted values, e.g. quantile and median calculations.

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

No branches or pull requests

1 participant