Skip to content

Avoid some allocations with Map.alterF#1219

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

Avoid some allocations with Map.alterF#1219
meooow25 wants to merge 1 commit into
haskell:masterfrom
meooow25:map-alterf-inline

Conversation

@meooow25

Copy link
Copy Markdown
Contributor

Inline the function so that GHC can optimize it based on the altering function. Also unpack the Maybe in TraceResult. Both of these result in less allocations.

For #1209.

Inline the function so that GHC can optimize it based on the altering
function. Also unpack the Maybe in TraceResult. Both of these result
in less 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