From d34045f19069e9895dd022f01855596c5bf9152e Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Wed, 31 Mar 2021 12:13:42 -0500 Subject: [PATCH] graph-store: fewer allocations in +validate-graph --- pkg/arvo/app/graph-store.hoon | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkg/arvo/app/graph-store.hoon b/pkg/arvo/app/graph-store.hoon index f15f2fcc6e..c5c299e604 100644 --- a/pkg/arvo/app/graph-store.hoon +++ b/pkg/arvo/app/graph-store.hoon @@ -682,16 +682,14 @@ %cb /(scot %p our.bowl)/[q.byk.bowl]/(scot %da now.bowl)/[u.mark] == - =/ unused - %+ turn (tap:orm graph) - |= [=atom =node:store] - ^- ? - =/ side (vale:dais [atom post.node]) - ?- -.children.node + %+ roll (tap:orm graph) + |= [[=atom =node:store] out=?] + ^- ? + ?& ?=(^ (vale:dais [atom post.node])) + ?- -.children.node %empty %.y %graph ^$(graph p.children.node) - == - %.y + == == :: ++ poke-import |= arc=*