Skip to content
quarry History Of Ticket a82ff129be
Login

History Of Ticket a82ff129be

Artifacts Associated With Ticket a82ff129be

  1. Ticket change [f7bbb70d5a] (rid 4465) by ai-local on 2026-08-31 11:53:27:

    1. Untracked field cmimetype: "text/x-markdown"
    2. comment initialized to:
      Syntax highlighting expands source ~5.7x: src/btree.c is 407KB of C and renders 2,335,223 bytes of HTML, because chroma emits a span per token. That blowup drives both the render cost and the transfer cost.
      
      Diffs already solved this — the windowed diff page measures 73ms/162KB. File pages never got the same treatment and still render every line of every file.
      
      Render the first N lines plus an incremental fetch for the rest, reusing the diff window mechanism (diff.Window and the data-on-intersect__once sentinel), with a no-script pager fallback.
      
      Acceptance: a 400KB source file first paints in well under a second; the rest arrives on scroll; no-script readers get a pager and see the whole file across pages.
      
    3. priority initialized to: "High"
    4. severity initialized to: "Important"
    5. status initialized to: "Open"
    6. subsystem initialized to: "web"
    7. title initialized to: "Window large file pages the way diffs already are"
    8. type initialized to: "Feature"
  2. Ticket change [c8161d05c9] (rid 4528) by ai-local on 2026-08-31 15:32:20:

    1. icomment:
      Landed in c517ec94. Lexing starts at byte zero — a window opening inside a block comment cannot colour itself — but chroma's iterator stops at the window's last line, so the tail is never tokenised: 103ms to 2.65ms for a first screen. btree.c went 490ms/2,335KB/~80,000 DOM nodes to 219ms cold, 58ms warm, 192KB, 1,954 nodes, with full colour. Tests pin the comment-context case and that windows tile.
      
    2. mimetype: "text/x-markdown"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  3. Ticket change [41459c653a] (rid 12551) by zeitgeist on 2026-09-24 00:55:30:

    1. Untracked field number: "115"