Skip to content

Fix typo: spline -> spine in AddNode (chapters 4-8) - #248

Merged
cliffclick merged 1 commit into
SeaOfNodes:mainfrom
symious:fix-spine-typo
Sep 9, 2026
Merged

cliffclick merged 1 commit into
SeaOfNodes:mainfrom
symious:fix-spine-typo

Conversation

@symious

@symious symious commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The add canonicalization builds a left-leaning chain of AddNodes -- the "spine" -- with off-spine operands hanging off each in(2). The comparator and its comments were spelled "spline" (a curve / mechanical part), which was already inconsistent with the goal comment in the same method:

// Goal: a left-spine set of adds, with constants on the rhs

Chapters 9 and later already use "spine" / "spine_cmp"; this brings the earlier chapters in line.

Comment and private-method-name only, no behavior change.

The add canonicalization builds a left-leaning chain of AddNodes -- the
"spine" -- with off-spine operands hanging off each in(2). The comparator
and its comments were spelled "spline" (a curve / mechanical part), which
was already inconsistent with the goal comment in the same method:

    // Goal: a left-spine set of adds, with constants on the rhs

Chapters 9 and later already use "spine" / "spine_cmp"; this brings the
earlier chapters in line.

Comment and private-method-name only, no behavior change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@symious

symious commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

@dibyendumajumdar PTAL.

@cliffclick cliffclick left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cliffclick
cliffclick merged commit 8ac5cc6 into SeaOfNodes:main Sep 9, 2026
@symious

symious commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

@cliffclick Thank you for the review and merge.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants