Skip to content

Add spec perf/19.27 on a parse with no frozen table - #349

Merged
tamnd merged 1 commit into
mainfrom
docs/spec-1927
Dec 1, 2026
Merged

tamnd merged 1 commit into
mainfrom
docs/spec-1927

Conversation

@tamnd

@tamnd tamnd commented Dec 1, 2026

Copy link
Copy Markdown
Owner

This PR adds section 19.27 to the perf spec. The section records the measure of the branch perf/parse-notable, which puts the nodes of the parse in the frozen tier with no probe and no put of the frozen table.

The branch is not correct. With two handles for one term, expr_equal, the inductive checks and the scratch tier give wrong results, and 104 good Arena tests fail. The probe uses only 0.80 G of 43.93 G on init, so a correct change of the table cannot give a gain of 1% or more in the parse. The branch is not merged.

Part of #344.

The parse with no probe and no put of the frozen table gives two handles for one term. The equality, the inductive checks and the scratch tier need one handle for each term, so the branch rejects good inputs. The probe uses only 0.80 G on init, so the branch is not merged.
@tamnd tamnd added this to the M13 Perf: cost per step milestone Dec 1, 2026
@tamnd tamnd added area/docs The spec and the other documents type/docs Documents only labels Dec 1, 2026
@tamnd
tamnd enabled auto-merge (squash) December 1, 2026 19:01
@tamnd tamnd mentioned this pull request Dec 1, 2026
4 of 13 tasks
@tamnd
tamnd merged commit e0a7193 into main Dec 1, 2026
28 of 29 checks passed
@tamnd
tamnd deleted the docs/spec-1927 branch December 1, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs The spec and the other documents type/docs Documents only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant