Skip to content

allow ivars to be rewritten into other ivars - #189

Merged
kavigupta merged 9 commits into
smcfrom
smc-handle-variable-reuse
Jun 11, 2025
Merged

allow ivars to be rewritten into other ivars#189
kavigupta merged 9 commits into
smcfrom
smc-handle-variable-reuse

Conversation

@kavigupta

@kavigupta kavigupta commented Jun 10, 2025

Copy link
Copy Markdown
Collaborator

Baseline on wheels

Found 3 inventions
Cost Improvement: (1.67x better) 3577776 -> 2140344
fn_0 (1.24x wrt orig): utility: 699628 | final_cost: 2877846 | 1.24x | uses: 3465 | body: [fn_0 arity=0: (M 1 0)]
fn_1 (1.46x wrt orig): utility: 418442 | final_cost: 2458898 | 1.17x | uses: 1037 | body: [fn_1 arity=2: (T #1 (M #0 0 0 0))]
fn_2 (1.67x wrt orig): utility: 318250 | final_cost: 2140344 | 1.15x | uses: 1577 | body: [fn_2 arity=2: (T #1 (fn_0 #0 0))]
Time: 346ms

@kavigupta
kavigupta marked this pull request as draft June 10, 2025 17:57
@kavigupta
kavigupta marked this pull request as ready for review June 11, 2025 03:49
@kavigupta
kavigupta merged commit 9e74f26 into smc Jun 11, 2025
@kavigupta
kavigupta deleted the smc-handle-variable-reuse branch June 11, 2025 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant