Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
9.0.0-M5
-
None
Description
The REMOVALS_KEY metadata on MarkupContainer is cleared on every request. This is an expensive operation and often unnecessary. By putting this operation behind a request flag, it can often be avoided.
An alternative approach is to check if the key is set (via getMetaData(REMOVALS_KEY)) and only clear it when it's set. This is faster than current master, but slower than using a flag.