aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGabriel Scherer2015-06-26 21:54:11 +0200
committerMaxime Dénès2016-06-27 12:45:41 +0200
commit2e9f7fa33a229634ec536b4dcdbf59ab666749fc (patch)
treef3828836b9a6f0a17dac69f9db870a9d90835010 /lib
parentc1caa158add73e6e6028ade81a0cb4540a845d18 (diff)
minor clarifications in constrintern.ml:sort_fields
Note that turning let boolean = not regular in if boolean && complete then ...; if boolean && complete then ...; into if not regular && complete then ...; if not regular && complete then ...; has absolutely no performance cost: negation inside a conditional is not computed as a boolean, it only flips the branches. The code is more readable because "boolean" was a terrible variable name.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions