Add caching to MetamodelImpl

Description

Hello,

This is a proposal for a simple improvement that made an appreciable difference in CPU utilization while testing our app:

Basically, the code above add caching to getImplementors.

With this change we could obtain about 4 to 5% improvement in CPU utilization across the application.

Environment

None

Status

Assignee

Unassigned

Reporter

Marc Boudreault

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure