Skip to content

Graphics-state copies are measured and made cheap #257

Closed

Description

@michaelstonis

Parent

#231 → #33 Spec: Broadside v1

What to build

A benchmark isolates the cost of copying the graphics state on q and per Type 3 glyph (two inline 32-float colours per state). If the cost matters on the pinned real-world subset, colours are stored compactly by component count or the rarely changed parts become shared; either way the numbers are recorded.

Spec clauses

ISO 32000-2 §8.4; review note on the graphics state

Acceptance criteria

  • A q/Q-heavy benchmark reports copy cost before and after.
  • Interpretation stays allocation-free; the content interpretation baseline improves on the q-heavy subset, or the PR records why no change was made.
  • Content gate snapshots unchanged.

Blocked by

None — can start immediately

Draft note: none (builds on #55, #56)

Deliverables (every ticket)

  • Tests through the public seam (see the spec's Testing Decisions)
  • XML docs citing clauses on public types
  • Conformance map rows updated in the same PR
  • PublicAPI.Unshipped.txt updated
  • Fuzz target and benchmark where the ticket adds a parser, codec or hot path

Activity

  1. added
    taskUnit of work from the task template
    ready-for-agentTriaged: an agent can pick this up without further clarification
    on Oct 10, 2026
  2. michaelstonis commented on Nov 17, 2026

    @michaelstonis
    OwnerAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in-progressClaimed and being worked onphase:7Phase 7ready-for-agentTriaged: an agent can pick this up without further clarificationtaskUnit of work from the task templatetrack:7B-hardeningTrack 7B deferred hardening

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions