Skip to content

fix: don't write the inline linear SCC solution into b - #168

Open
AJ0070 wants to merge 1 commit into
JuliaComputing:mainfrom
AJ0070:fix/inline-scc-shared-b
Open

AJ0070 wants to merge 1 commit into
JuliaComputing:mainfrom
AJ0070:fix/inline-scc-shared-b

Conversation

@AJ0070

@AJ0070 AJ0070 commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

#160 copies the solution back into b, but codegen emits identical expressions once, so inline linear SCCs with the same b share that buffer and the second solve uses the first one's solution as its right-hand side. The solution now goes into a new array, and the LinearCache is still reused: a 2x2 block's RHS call takes 135 ns vs 122 ns on main (151 ns on 1.20.6).

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