Simplify ConstraintTree in the case of non composing constraints

Description

Maybe we could try to have a fast path in validateConstraints() when we don't have any composing constraints. If the gain is very limited, it might not be worth it to complicate the code.

If we can get something faster which avoids to create unnecessary objects, while keeping the code readable, let's do it.

Environment

None

Status

Assignee

Marko Bekhta

Reporter

Guillaume Smet

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure