You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2019. It is now read-only.
This pass will traverse all defs in the AST after doing taken as value analysis and arity shaking to identify functions which are never taken as values, which are not part of the user defined API and which are constant and annotate them as ^:inline so that the emitter will inline their uses.
It's worth discussing the generality of this approach since there may be other things which can be inlined away but we'll start here.
The text was updated successfully, but these errors were encountered:
note that for clojure core :inline isn't a bool, it's a macro function. This is silly and unfortunate, but it's the case. See TODO.org for notes on a better partial evaluation based implementation.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This pass will traverse all defs in the AST after doing taken as value analysis and arity shaking to identify functions which are never taken as values, which are not part of the user defined API and which are constant and annotate them as ^:inline so that the emitter will inline their uses.
It's worth discussing the generality of this approach since there may be other things which can be inlined away but we'll start here.
The text was updated successfully, but these errors were encountered: