hash-org / hash-org/hashc

Function inlining pass

Open
#1,030 0 comments 0 reactions 1 assignee Claimed by @feds01 View on GitHub
codegen lowering
Dominant language
Rust
Stars
28
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Another powerful optimisation pass which any serious compiler will perform.

The function inlining pass will attempt to small functions into other functions to avoid the "cost" of a call.

There is no definitive answer to when a function should be inlined in or not, it often depends on a number of heuristics and cost-optimisation approaches.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.