Skip to content

Memorize event definitions to avoid reading them more than necessary

Jonas Larsen requested to merge j_lar/memorize_event_definitions into master

What does this MR do and why?

As we saw in !152476 (merged), definitions were not memorized which means that all event definitions files were read every time the method is called.

This MR adds memorization to prepare for definitions to being used more in !151646 (merged)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports