Skip to content

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

Open
symious wants to merge 1 commit into
SeaOfNodes:mainfrom
symious:fix-spine-typo
Open

Fix typo: spline -> spine in AddNode (chapters 4-8)#248
symious wants to merge 1 commit into
SeaOfNodes:mainfrom
symious:fix-spine-typo

Conversation

@symious

@symious symious commented Sep 2, 2026

Copy link
Copy Markdown

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
Author

@dibyendumajumdar PTAL.

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.

1 participant