Merge pull request #4977 from urbit/la/fast-nest

graph-push-hook/thread: shave off 20ms from nest checks by getting ri…
This commit is contained in:
L 2021-06-03 13:55:00 -05:00 committed by GitHub
commit cb7da7cbba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -153,7 +153,9 @@
=. nodes.q.update
%- ~(gas by *(map index:store node:store))
result
:_ [~ !>(update)]
:_ :- ~
!> ^- update:store
update
%+ weld cards
%- zing
:~ ?: mark-cached ~

View File

@ -33,7 +33,8 @@
;< ~ bind:m
%^ poke-our %graph-push-hook
%graph-update-2
!>(update)
!> ^- update:store
update
(pure:m !>(`action:graph-view`[%pending-indices hashes]))
::
++ sort-nodes