Simon Cruanes
b433a11c9a
perf: avoid building closures in Signal
2026-01-20 00:15:11 -05:00
Simon Cruanes
a35ea4c646
fixes
2025-12-01 20:32:03 -05:00
Shon Feder
87cfd5e31e
Add test harness for instrumented applications
2025-07-08 21:30:03 -04:00
Shon Feder
a44e0cd3b5
Add common type for signals
2025-07-08 21:28:55 -04:00
Shon Feder
00840e0b88
Add pretty printer utils
...
These combinators seem tiny, but they simpflify code where they are used
quite a lot.
2025-07-08 21:28:55 -04:00
Shon Feder
33104f231e
Add Signal.Decode module
...
For testing
2025-07-08 21:28:55 -04:00
Shon Feder
39920ed109
Fix Signal encoder name choice
...
Don't know why I didn't opt for this clearer name originally.
2025-07-08 21:28:55 -04:00
Shon Feder
d3235a1864
Remove unneeded encoder reset
...
We reset the encoder if we are reusing one, and we generate a fresh new
one otherwise.
2025-07-08 21:28:55 -04:00
Simon Cruanes
f8d4ac7c3c
fix: make sure we clear out the encoder when reusing it
2025-06-23 09:32:33 -04:00
Shon Feder
8f7d74f591
Allow optional reuse of encoder state
...
This allows clien implementors to micromanage the state of the protobuf
`encoder` if they want, or to just let the library handle allocation and
garbage collection of encoder states when that level of resource
managment is not required.
2025-06-20 16:19:55 -04:00
Shon Feder
740a142581
Use application operator
2025-06-18 18:36:16 -04:00
Shon Feder
52377b0a03
Factor out signal encoding logic
2025-06-16 23:34:45 -04:00