Fix +ls performance by not +hard-ing in scry

This commit is contained in:
Elliot Glaysher 2018-06-04 10:54:12 -07:00
parent bc17312fa3
commit 5cb4cbba37

View File

@ -1,4 +1,3 @@
!:
:: pit: a +vase of the hoon+zuse kernel, which is a deeply nested core :: pit: a +vase of the hoon+zuse kernel, which is a deeply nested core
:: ::
|= pit=vase |= pit=vase
@ -4532,7 +4531,6 @@
^- (unit (unit (cask))) ^- (unit (unit (cask)))
?> ?=([@ *] ref) ?> ?=([@ *] ref)
=/ hoon-version=@ud -.ref =/ hoon-version=@ud -.ref
=/ =type ((hard type) +.ref)
:: ::
~| hoon-version=hoon-version ~| hoon-version=hoon-version
?> ?=(?(%143 %151) hoon-version) ?> ?=(?(%143 %151) hoon-version)
@ -4574,7 +4572,7 @@
=/ local-cage=cage (result-to-cage build-result.u.local-result) =/ local-cage=cage (result-to-cage build-result.u.local-result)
:: if :local-result does not nest in :type, produce an error :: if :local-result does not nest in :type, produce an error
:: ::
?. -:(nets:wa type `^type`p.q.local-cage) ?. -:(nets:wa +.ref `type`p.q.local-cage)
[~ ~] [~ ~]
:: ::
[~ ~ `(cask)`local-cage] [~ ~ `(cask)`local-cage]