Skip to content

HermitCrab: #546 follow-ons (compiled slot-rule sharing, ParallelApplySlots) are unbuilt and unmeasured in work steps #608

Open

Description

@johnml1135

Claude-drafted.

Two follow-ons to PR #546 (shared trailing slot batches) are not built and have no work-step measurement: sharing compiled slot rules across templates, and a design for ParallelApplySlots, whose layered breadth-first queue needs its own design.

Status: not started. Waits on #546 landing.

What we know:

Not known: the work-step effect of compiled-rule sharing; what a ParallelApplySlots design needs.

Proposed change (C#): measure the work-step effect of compiled-rule sharing on the full word lists, then design ParallelApplySlots. A deterministic work counter on full lists comes first (lead 7 of the 2026-10-21 round).

Related: PR #546 (open), #566 (open). PanGloss: sillsdev/PanGloss#110 (the pointer issue for this one, open); sillsdev/PanGloss#66 (open) ports the batch sharing of #546 and #566 only, not these follow-ons.

Next: once #546 lands, count compiled-rule sharing in work steps on the full lists.


Evidence -- where the numbers come from
  • C# batch counts and port work steps: ledger row 26 (Sena 47,072 to 32,287 is 31.4%; Mbugwe 72,467 to 58,486 is 19.3%; port Sena 11.5%, 31.6% fewer steps, 448,573 batches avoided; Mbugwe 18.1% on a 1,364-word partial; Aweti 0.35%).
  • The round's own wording: "The C# gain is measured in slot batches on samples, not in a work counter on full lists."
  • ParallelApplySlots exists today at AnalysisAffixTemplateRule.cs#L96 (called from line 71).
Sources -- retired record, pinned at 2eba2f5 (closed PR #490)

Activity

  1. changed the title [-]HermitCrab #546 follow-ons: share compiled slot rules across templates; design ParallelApplySlots[/-] [+]HermitCrab: #546 follow-ons (compiled slot-rule sharing, ParallelApplySlots) are unbuilt and unmeasured in work steps[/+] on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions