Renamed 'children' to be 'dependents' to be more consistent with dependencies and less confusing
Previously, addEntry would create an entry and add it as a dependent in all cases, which is bad if the entry is already created causing excessive memory usage and duplicates in the list. This optimizes it to only do work if the result is not already computed.
addEntry
would create an entry and add it as a dependent in all cases, which is bad if the entry is already created causing excessive memory usage and duplicates in the list. This optimizes it to only do work if the result is not already computed.