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

constant-time max on Range #5857

Closed
scabug opened this issue May 31, 2012 · 1 comment
Closed

constant-time max on Range #5857

scabug opened this issue May 31, 2012 · 1 comment
Assignees
Milestone

Comments

@scabug
Copy link

@scabug scabug commented May 31, 2012

I expect to have (1 to 1000000000).max run in constant time, but this is not the case. It seems to iterate over the how values in the range.

@scabug

This comment has been minimized.

Copy link
Author

@scabug scabug commented May 31, 2012

Imported From: https://issues.scala-lang.org/browse/SI-5857?orig=1
Reporter: Pierre Schaus (pschaus)

@scabug scabug closed this Jun 6, 2012
@scabug scabug added this to the 2.10.0-M3 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.