Skip to content

Move query graph to encoding/json/v2 - #3660

Merged
peterebden merged 1 commit into
thought-machine:masterfrom
peterebden:query-graph-json-v2
Nov 12, 2026
Merged

peterebden merged 1 commit into
thought-machine:masterfrom
peterebden:query-graph-json-v2

Conversation

@peterebden

Copy link
Copy Markdown
Collaborator

Baby version of #3659 (I think #3654 will obviate a lot of the use for this anyway so I'd rather do less here).

This is a big win because when emitting formatted output v1 outputs the whole thing into a buffer then reformats that; v2 does it all as it goes. These graphs are usually pretty big so it saves us a lot of memory.

@peterebden
peterebden merged commit f4c1004 into thought-machine:master Nov 12, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants