From 7f2257e581a7ad0fe0d57885e31f81425ae8f76d Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Tue, 2 May 2023 17:16:22 -0400 Subject: [PATCH] clay: virtualize parsing to workaround runaway memoization --- pkg/arvo/sys/vane/clay.hoon | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/arvo/sys/vane/clay.hoon b/pkg/arvo/sys/vane/clay.hoon index fdce6a93cc..0cf03ada43 100644 --- a/pkg/arvo/sys/vane/clay.hoon +++ b/pkg/arvo/sys/vane/clay.hoon @@ -925,7 +925,9 @@ ~/ %parse-pile |= [pax=path tex=tape] ^- pile - =/ [=hair res=(unit [=pile =nail])] ((pile-rule pax) [1 1] tex) + =/ [=hair res=(unit [=pile =nail])] + %- road |. + ((pile-rule pax) [1 1] tex) ?^ res pile.u.res %- mean %- flop =/ lyn p.hair