container
container copied to clipboard
Optimize Default Polucies
Container has several policies and chins that control how it operates. These should be consolidated into one logical unit and hosted by the root container.
Currently Default Policies are accessed via context.Get(null, null, .. ) method. Accessing them directly via direct reference would improve performance.
Default policies are held in regular PolicyList and as result suffer from overhead related to proper addressing. If help in specialized storage this could be eliminated.
Default lifetime managers for Type, Instance and Factory registrations are duplicated in each container. This creates overhead when child containers are created as well as during registrations in child containers.