« Previous | Next » 

Revision e7ac72fe

IDe7ac72fedde36df838183d34a191c33c79bd5ce9

Added by Steffen Ritter over 8 years ago

[TASK] Optimize Validation to improve performance

The validation result object traverses the whole result-
tree every time 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 unnecessary 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