Skip to content

optimization bug: Function call triggers unnecessary stack allocation, load and store#38

Merged
Zffu merged 1 commit intomasterfrom
fix/34
Feb 24, 2026
Merged

optimization bug: Function call triggers unnecessary stack allocation, load and store#38
Zffu merged 1 commit intomasterfrom
fix/34

Conversation

@Zffu
Copy link
Copy Markdown
Member

@Zffu Zffu commented Feb 24, 2026

Changelog:

  • Fixes a bug where a alloc, store and load are redundantly added for each function call.

After benchmarks, we can observe that Quickfall can be up to 20% faster on certain benchmarks such as the Fibonacci number computation one where it was able to beat C by almost 3 seconds when both languages use -O3 and about 10 seconds when no optimization is specified

@Zffu Zffu self-assigned this Feb 24, 2026
@Zffu Zffu merged commit 2e6d6db into master Feb 24, 2026
@Zffu Zffu deleted the fix/34 branch March 14, 2026 18:46
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.

optimization bug: Function call triggers unnecessary stack allocation, load and store

1 participant