witty-crayon-22786
05/16/2019, 5:39 AMsys.getsizeof
is lying to you a bit, because it isn't recursive (see https://docs.python.org/3/library/sys.html#sys.getsizeof), but that measuring recursively is challenging here (because things like TransitiveHydratedTarget intentionally structure share, and would lie to a naive recursive size calculation). objgraph
might help there.ExecuteProcessResult
initially, but went for eager in the end.intrinsic/builtin
rule "lifts" a "large" type to be fed to a python @rule
, it should avoid actually persisting that in the Graph
._handles
map are Values
held inside the NodeKey/NodeResult enums. so that's not really very helpful.