Semantic export stays linear on adversarial bodies. Release 0.5.1. #4
Loading…
Reference in a new issue
No description provided.
Delete branch "oliver.maklott/linear-export"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The semantic export runs in the app process on every saved body. Three of its steps were quadratic:
/[ \t]+$/per line: a 200 KB line of blanks that ends in a letter took over 20 s;![: 100,000 unclosed openers took 12 s;All three are linear now. A path embedded many times builds and writes its representation once, and the output is assembled in one pass.
Tests:
semantic_export.test.ts(23, two new).🤖 Generated with Claude Code
https://claude.ai/code/session_01PVUe4ghusFjH71tHhZetH2
Pull request closed