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

Change comparisons to increase code uniformity in max and min algorithms #210

Closed
wants to merge 1 commit into from
Closed

Conversation

panzarino
Copy link
Contributor

Sometimes the current max or min value would be compared and sometimes it would compare the parameter. This changes so that it always compares to the current max or min value, not the parameter. Even though it makes no changes to the functionality of the method, it helps to organize it and create uniformity.

@azdavis
Copy link

azdavis commented Dec 6, 2015

👍 consistency is always good

@gribozavr
Copy link
Contributor

The goal here is not surface-level uniformity, but getting the semantics we want. Please read the discussion in pull request #137.

@gribozavr gribozavr closed this Dec 6, 2015
@panzarino panzarino deleted the patch-4 branch December 6, 2015 22:24
slavapestov pushed a commit to slavapestov/swift that referenced this pull request Nov 27, 2018
Adding documentation to clarify the result of DispatchTime(uptimeNanoseconds: 0)
slavapestov pushed a commit to slavapestov/swift that referenced this pull request Nov 27, 2018
Adding documentation to clarify the result of DispatchTime(uptimeNanoseconds: 0)

Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
dabelknap added a commit to dabelknap/swift that referenced this pull request Jan 24, 2019
kateinoigakukun added a commit to kateinoigakukun/swift that referenced this pull request Feb 25, 2020
* [WASM] Update ICU

The main change is here swiftwasm/icu4c-wasi@171b2a5

* [WASM] Update to build ICU with latest wasi-sdk

* Update ICU to archive with wasi-sdk bin
maldahleh pushed a commit to maldahleh/swift that referenced this pull request Oct 26, 2020
freak4pc pushed a commit to freak4pc/swift that referenced this pull request Sep 28, 2022
…-which-we-have-swift-4-hashes

Remove Swift 3.x hashes for things that we're already testing with 4.x.
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.

3 participants