summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-10-04 14:13:22 +0100
committerSean McGivern <sean@gitlab.com>2017-10-05 10:12:58 +0100
commite9476eb97af59404438d8403968a282d6d08a20d (patch)
tree6e0b9c6cdfb18095cf7c49c470fb54b7d817d988 /README.md
parentd7717192782232c14c4f16962ab450b08348a4c9 (diff)
downloadgitlab-ce-e9476eb97af59404438d8403968a282d6d08a20d.tar.gz
Speed up cached_pass? for composite rules
Both `Or` and `And` would evaluate whether each rule passed, then calculate a value based on the results of all of those. We can actually return early in many cases, without running the rule at all.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions