zorp-corp/sword

Parser jets

Opened this issue · 2 comments

The current holdup between us and a dojo prompt is parser jets. These exist for vere in

https://github.com/urbit/vere/blob/45d28f9cf65c6088f3745e79172fd07d793d2169/pkg/noun/jets/e/parse.c

I've attached a trace which shows that most of the time spent in the %zest move sent by %dill to %clay is spent in the parser jets, outermost being +pfix. (Look at the end of the trace. Unfortunately at this stage we still have to trace the boot process entirely, and of course the boot process runs far more slowly when tracing because every call must be checked for tracing.)

https://drive.google.com/file/d/1eceb0VFXpORh20EsHG-ST2idqvgFjzsE/view?usp=drive_link

This trace can be loaded in Perfetto.

After #166, the new hold-ups are +turn and +loot

#190 jets turn, caching the jet or nonexistence of a jet for the gate passed to turn