Merge pull request #6545 from urbit/jb/road-pile

clay: virtualize parsing to workaround runaway memoization
This commit is contained in:
Ted Blackman 2023-05-02 17:37:27 -04:00 committed by GitHub
commit 4d3af06300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -925,7 +925,9 @@
~/ %parse-pile ~/ %parse-pile
|= [pax=path tex=tape] |= [pax=path tex=tape]
^- pile ^- 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 ?^ res pile.u.res
%- mean %- flop %- mean %- flop
=/ lyn p.hair =/ lyn p.hair