mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 23:44:56 +03:00
44 lines
647 B
Markdown
44 lines
647 B
Markdown
[sigbuc, `~$`, %sgbc](#sgbc)
|
|
============================
|
|
|
|
Label for profiling
|
|
|
|
`~$`, `sigbuc`, `[%sgbc p=term q=twig]` is a synthetic rune that labels
|
|
computation `q` as `p` for profiling.
|
|
|
|
Produces
|
|
--------
|
|
|
|
Twig: `[%sgbc p=term q=twig]`
|
|
|
|
Sample
|
|
------
|
|
|
|
`p` is a [term](). `q` is a [twig]().
|
|
|
|
Tall form
|
|
---------
|
|
|
|
~$ p
|
|
q
|
|
|
|
Wide form
|
|
---------
|
|
|
|
~$(p q)
|
|
|
|
Irregular form
|
|
--------------
|
|
|
|
None
|
|
|
|
Examples
|
|
--------
|
|
|
|
~zod/try=> (make '~$(foo |-($))')
|
|
[%10 p=[p=1.702.259.052 q=[%1 p=7.303.014]] q=[%8 p=[%1 p=[9 2 0 1]] q=[%9 p=2 q=[%0 p=1]]]]
|
|
~zod/try=> `@tas`1.702.259.052
|
|
%live
|
|
~zod/try=> `@tas`7.303.014
|
|
%foo
|