feat: Implement closure cracking and inlining
Introduces a new optimizer pass that can "crack" closures, allowing for more aggressive specialization. It also enables inlining of upvalues that point to immutable global variables. This removes overhead for higher-order functions and currying when arguments are statically resolvable.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
;; Output: 30
|
||||
(+ 10 20)
|
||||
Reference in New Issue
Block a user