You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
find_object_proxies suffered from a reuse of ids of temporary objects, which led to incomplete traversals of the object tree and with that to not found object proxies
To avoid this in the future, the following things are necessary
We need to keep all seen objects in a list to prevent the release of a temporary object until the function ends.
We need to implement limits on the depth and the number of seen objects to prevent to high memory use
We have to make sure the algorithm itself doesn't produce temporary objects.
Extract it to a class and a factory, to make it injectable and to make state handling easier. Through injection, we can also version with reporting for debugging.
The text was updated successfully, but these errors were encountered:
Background
The text was updated successfully, but these errors were encountered: