Skip to content

Remove duplicate alter implementation#1210

Merged
meooow25 merged 1 commit into
haskell:masterfrom
meooow25:alterf-identity
May 23, 2026
Merged

Remove duplicate alter implementation#1210
meooow25 merged 1 commit into
haskell:masterfrom
meooow25:alterf-identity

Conversation

@meooow25
Copy link
Copy Markdown
Contributor

This is only used in an alterF rewrite rule. Update the rule to use alter instead.

Benchmarks with GHC 9.14 show minor improvements except for the "absent" case which becomes slower. This case is already documented to be slow in the alterF Haddocks.

For #1209.

This is only used in an alterF rewrite rule. Update the rule to use
alter instead.

Benchmarks with GHC 9.14 show minor improvements except for the "absent"
case which becomes slower. This case is already documented to be slow in
the alterF Haddocks.
@meooow25 meooow25 merged commit b89d778 into haskell:master May 23, 2026
19 checks passed
@meooow25 meooow25 deleted the alterf-identity branch May 23, 2026 13:13
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