From 38a26041c27f11005f6e29866b2e9eb23edc6193 Mon Sep 17 00:00:00 2001 From: Philip Monk Date: Mon, 28 Nov 2022 16:08:41 -0700 Subject: [PATCH] clay: don't add road transitions in clay These were originally added because they reduced memory usage, primarily by clearing the memoization cache. Now that the memoization cache is no longer used, we use less memory without them. On ~wicdev-wisryt with ~30 apps, updating Clay now takes ~320MB. --- pkg/arvo/sys/vane/clay.hoon | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/arvo/sys/vane/clay.hoon b/pkg/arvo/sys/vane/clay.hoon index 45e7f1fa23..78061c2d00 100644 --- a/pkg/arvo/sys/vane/clay.hoon +++ b/pkg/arvo/sys/vane/clay.hoon @@ -880,7 +880,7 @@ (page-to-cage page) =^ [mark vax=vase] nub (page-to-cage page) =^ =tube nub (build-tube p.page mak) - :_(nub [mak (road |.((tube vax)))]) + :_(nub [mak (tube vax)]) :: ++ page-to-cage |= =page @@ -902,7 +902,7 @@ [cag nub] =^ =tube nub (build-tube mok mak) ~| error-running-cast+[path mok mak] - :_(nub [mak (road |.((tube q.cag)))]) + :_(nub [mak (tube q.cag)]) :: ++ run-pact |= [old=page diff=page] @@ -948,7 +948,7 @@ %+ gain-leak file+path |= nob=state =. nub nob - =/ res=vase (road |.((slap sut hoon.pile))) + =/ res=vase (slap sut hoon.pile) [[%vase res] nub] :: ++ build-file