Skip to content

Rewrite the README - #9

Merged
lightningpixel merged 1 commit into
mainfrom
docs/readme
Aug 9, 2026
Merged

Rewrite the README#9
lightningpixel merged 1 commit into
mainfrom
docs/readme

Conversation

@lightningpixel

Copy link
Copy Markdown
Owner

357 lines → 218. Same substance, easier to scan: a centred header with jump links, the example first, then install, commands, languages, numbers.

Corrected while rewriting

  • The header example was curated, and stale. It quoted CallGraph :20 and buildCallGraph :62; the real lines are :24 and :84, and the caller count had moved from 5 to 6. The example is now genuine output — orvix map at its default budget really does print that parser.ts block, and the who-calls lines are verbatim.
  • orvix show parse was offered as proof that bare names work. In this repository it matches three symbols. Replaced with one that resolves, and the ambiguous case is now described rather than hidden.

Re-measured, all in one sitting

own source 405 symbols, 1 201 edges, 0 ambiguous
measure ~2,032 → ~235 · ~35,199 → ~1,994
bench 55.6 / 27.2 / 82.9 ms
scale 558 / 1 297 / 4 522 ms
test 395

The latency figures are higher than the previous README's because the machine was busier — which is exactly what the caveat printed beside them says will happen. Left as measured rather than cherry-picked from a quieter moment.

Cut

The per-command prose that repeated the commands table, and the longer retellings of the hook design.

Kept

What the call graph cannot see (including string-dispatched boundaries), how ids behave across edits, and the paragraph explaining that these are per-operation and not per-session numbers. That last one is the reason to trust the rest of them.

Docs only — no code touched. 395 tests still pass.

Shorter and easier to scan: 357 lines to 218. A centred header with jump
links, the example first, then install, commands, languages, numbers.

The example is now real output rather than a curated one — `orvix map` at its
default budget prints that parser.ts block, and the who-calls lines are
verbatim. The old header claimed line numbers the code no longer had.

`orvix show parse` was offered as proof that bare names work; it actually
matches three symbols in this repository. Replaced with one that resolves, and
the ambiguous case is described instead of hidden.

Every figure re-measured in one sitting rather than carried over: 405 symbols,
1 201 edges, ~2,032 and ~35,199 for the two measure rows, 55.6/27.2/82.9 ms for
latency, the scale table, 395 tests. The latency numbers are higher than the
previous README's because the machine was busier, which is what the caveat
beside them already said would happen.

Dropped: the per-command prose that repeated the table, and the longer
retellings of the hook design. Kept: what the call graph cannot see, how ids
behave, and the paragraph explaining that these are per-operation numbers —
that one is the reason to trust the rest.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@lightningpixel
lightningpixel merged commit 6c169bb into main Aug 9, 2026
11 checks passed
@lightningpixel
lightningpixel deleted the docs/readme branch August 9, 2026 16:21
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.

1 participant