Skip to content

Builder table layout is quadratic in the row count #541

Closed

Description

@michaelstonis

Laying out a builder table takes time quadratic in its row count. The Table10k benchmark had to be cut to 200 rows to finish in the gate (#397).

Done when

  • The quadratic step in table layout is found and documented in the PR (row measuring, page breaking, repeated header handling, or list copying).
  • Layout of an N-row table is linear in N, measured at 200, 2,000 and 10,000 rows.
  • The benchmark goes back to 10,000 rows, and the allocation baseline is re-recorded.
  • Output is byte-identical to before for the existing builder tests.

Activity

  1. added
    bug
    area:layout
    phase:7
    track:7B-hardening
    perf
    in-progress
    on Nov 17, 2026
  2. added 2 commits that reference this issue on Nov 17, 2026
  3. michaelstonis commented on Nov 17, 2026

    @michaelstonis
    OwnerAuthor

    Merged into spec/33-broadside-v1 via #557.

  4. removed
    in-progress
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:layoutbugperfphase:7track:7B-hardening

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions