#73191Add flags to IconRegistry::$icons instead of calling IconRegistry::registerFlags
Description
For each backend request IconRegistry::registerFlags is called. The method give a nice overview of available flags and all, but it takes 477 method calls that could be saved
The result of the method is always the same and is not cached.
I don’t think caching it makes sense here, it should be generated once and maintained in IconRegistry::$icons.
It does not happen often that countries get added or removed from the list. So Maintaining the class property does not seem to be a problem.