Skip to content

Commit

Permalink
Decide inline-worthiness based on a more nuanced cost model
Browse files Browse the repository at this point in the history
This switches to a model in which we estimate the runtime of the
function; if it's fast, then we should inline it. The estimate of
runtime is extremely crude, and doesn't even take loops into account.
  • Loading branch information
timholy committed Jun 8, 2017
1 parent 4170788 commit 0d6e686
Show file tree
Hide file tree
Showing 2 changed files with 246 additions and 140 deletions.
Loading

0 comments on commit 0d6e686

Please sign in to comment.