Skip to content

refactor: use ArrayMaker for inline linear SCCs #73

Merged
AayushSabharwal merged 3 commits intomainfrom
as/inline-linsolve-arraymaker
Apr 29, 2026
Merged

refactor: use ArrayMaker for inline linear SCCs #73
AayushSabharwal merged 3 commits intomainfrom
as/inline-linsolve-arraymaker

Conversation

@AayushSabharwal
Copy link
Copy Markdown
Member

Most large SCCs are sparse. array_literal codegens a setindex! call for each element of the array, which scales incredibly poorly. The new ArrayMaker target uses fill! to zero out the buffer, and only writes non-zero entries.

@AayushSabharwal
Copy link
Copy Markdown
Member Author

Merging because tests are fine, and so that codegen can scale in a sane manner.

@AayushSabharwal AayushSabharwal merged commit fce8f60 into main Apr 29, 2026
33 of 44 checks passed
@AayushSabharwal AayushSabharwal deleted the as/inline-linsolve-arraymaker branch April 29, 2026 11:51
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