Swinject/Swinject

GraphStorage optimization

Open

#373 opened on Sep 18, 2018

View on GitHub
 (0 comments) (3 reactions) (0 assignees)Swift (5,745 stars) (465 forks)batch import
bughelp wanted

Description

When underlying value wrapped in the Weak container is released, entry in the GraphStorage.instances will remain.

We should optimise this - probably by actively checking and removing empty Weak wrappers during storage's lifetime.

Contributor guide

GraphStorage optimization · Swinject/Swinject#373 | Good First Issue