quasilyte/goism

width-based inlining

Closed this issue · 0 comments

Avoid Cost() usage for inliner purposes.
It should care about "code bloating", not about "how expensive function body is".

Of course concat instructions is many times more expensive than plus (add),
but in terms of bytecode size, they are roughly the same (depends on concat encoding).

Also see #83.