Skip to content

Change build_insn_group to use a loop instead of recursion for successive groups#1030

Merged
inducer merged 1 commit into
inducer:mainfrom
majosm:build-insn-group-loop
Jul 24, 2026
Merged

Change build_insn_group to use a loop instead of recursion for successive groups#1030
inducer merged 1 commit into
inducer:mainfrom
majosm:build-insn-group-loop

Conversation

@majosm

@majosm majosm commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

I originally added this change in order to make it easier to read the profiler output, but it turned out to have an impact on performance in its own right. 🤷‍♂️

This is another one of the optimizations shown in the plot in #1026.

@majosm

majosm commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

Note: this is easier to read with git diff -w due to the indent change.

@inducer
inducer force-pushed the build-insn-group-loop branch from fe42619 to f735e46 Compare July 24, 2026 15:31
@inducer
inducer merged commit c01d572 into inducer:main Jul 24, 2026
17 checks passed
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