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

Fix performance regression in is_monotonic #6105

Merged
merged 1 commit into from Jun 23, 2021
Merged

Conversation

dsharletg
Copy link
Contributor

#6083 introduced a performance regression. The old logic worked in the presence of likely and promise_clamped, but the new logic does not. This PR fixes this performance regression.

@dsharletg
Copy link
Contributor Author

Hmm, it seems like this code already should be ignoring these. I think maybe the fix for the issue we've found is actually just #6099, though that wouldn't explain why removing promise_clamped is also necessary.

@dsharletg
Copy link
Contributor Author

Unfortunately #6099 is not a fix for this, so this PR (or something else) is still necessary.

@dsharletg dsharletg merged commit a987222 into master Jun 23, 2021
@dsharletg dsharletg deleted the ds/fix-monotonic2 branch June 23, 2021 17:34
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.

None yet

2 participants