Uploaded image for project: 'Hibernate Validator'
  1. HV-1543

Simplify ConstraintTree in the case of non composing constraints

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.8.Final
    • Component/s: engine
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: