Skip to content

Inline createMutableImage#229

Open
matthewbauer wants to merge 1 commit into
haskell-github-trust:masterfrom
matthewbauer:inline-create-mutable-image
Open

Inline createMutableImage#229
matthewbauer wants to merge 1 commit into
haskell-github-trust:masterfrom
matthewbauer:inline-create-mutable-image

Conversation

@matthewbauer

Copy link
Copy Markdown

Like generateImage, this function will benefit from inlining.

The absence of a INLINE hint here shows high time and allocations in profiling a program using createMutableImage. Since it's already set for generateImage, it seems reasonable to use it here. Note that INLINEABLE is sufficient, but I've used INLINE since it's used elsewhere.

Like generateImage, this function will benefit from inlining.
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