« Previous | Next » 

Revision 261972d9

ID261972d91ddabafa387d6a7e0ba52eb93d0f0f71

Added by Steffen Ritter over 8 years ago

[TASK] Optimize Validation to improve performance

The validation result object traverses the whole result-
tree everytime someone checks for errors, notices or
warnings.

This patch refactors the Result object to cache the result
internally and propagate changes to the parent result object.

In addition the heavy merge actions use this cached
information to prevent unneccesary operations.

Furthermore the validators are reworked to prevent
superfluous object creation.

Releases: 2.0, master
Resolves: #46340
Change-Id: I52ddadd84c39ba67fe87d5b82917360ad24f607e

  • added
  • modified
  • copied
  • renamed
  • deleted