Skip to content

Inline IntMap.alterF#1223

Open
meooow25 wants to merge 1 commit into
haskell:masterfrom
meooow25:inline-intmap-alterf
Open

Inline IntMap.alterF#1223
meooow25 wants to merge 1 commit into
haskell:masterfrom
meooow25:inline-intmap-alterf

Conversation

@meooow25

Copy link
Copy Markdown
Contributor

GHC seems happy to inline it anyway, but this makes our intent explicit. Inlining allows GHC to optimize it based on the altering function and likely avoids the Maybe allocations.

For #1209

GHC seems happy to inline it anyway, but this makes our intent explicit.
Inlining allows GHC to optimize it based on the altering function and
likely avoids the Maybe allocations.
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