Skip to content

Fast var set#2

Open
sgraf812 wants to merge 17 commits into
pascalellinger:masterfrom
sgraf812:FastVarSet
Open

Fast var set#2
sgraf812 wants to merge 17 commits into
pascalellinger:masterfrom
sgraf812:FastVarSet

Conversation

@sgraf812

@sgraf812 sgraf812 commented Sep 9, 2022

Copy link
Copy Markdown
Collaborator

Just leaving this here; the effect is mediocre. According to Ticky on the Cabal benchmark, this reduces number of unsafePersistNode calls (not sure about the unsafe prefix in hindsight) by 524768 to 524574.

I think we could get more leverage by figuring out and focussing on the call sites of unsafePersistNode that account for the majority of calls and see whether we can make them amenable to the RULE. But that's a stretch goal; let's focus on your writeup first.

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