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.witty-crayon-22786
05/16/2019, 5:39 AMwitty-crayon-22786
05/16/2019, 5:41 AMExecuteProcessResult
initially, but went for eager in the end.witty-crayon-22786
05/16/2019, 5:43 AMintrinsic/builtin
rule "lifts" a "large" type to be fed to a python @rule
, it should avoid actually persisting that in the Graph
.witty-crayon-22786
05/16/2019, 5:45 AMwitty-crayon-22786
05/16/2019, 5:45 AMwitty-crayon-22786
05/16/2019, 5:45 AMwitty-crayon-22786
05/16/2019, 5:48 AM_handles
map are Values
held inside the NodeKey/NodeResult enums. so that's not really very helpful.witty-crayon-22786
05/16/2019, 5:48 AM