Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add INLINABLE pragmas #3

Merged
merged 1 commit into from
Sep 20, 2021
Merged

Add INLINABLE pragmas #3

merged 1 commit into from
Sep 20, 2021

Conversation

pepeiborra
Copy link
Contributor

Thanks for your excellent library. We use it for completions in Ghcide / Haskell Language Server

Adding these pragmas allows GHC to specialise the function at call sites removing the cost of the TexttualMonoid virtual dispatches.
This reduces allocations by 66% and time by up to 50%.

Thanks for your excellent library. We use it for completions in Ghcide / Haskell Language Server

Adding these pragmas allows GHC to specialise the function at call sites removing the cost of the TexttualMonoid virtual dispatches.
This reduces allocations by 66% and time by up to 50%.
@pepeiborra
Copy link
Contributor Author

Could you do a Hackage release as well?

@joom
Copy link
Owner

joom commented Sep 20, 2021

Done!

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.

2 participants