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

Inline applicative operators #566

Merged
merged 1 commit into from
Aug 8, 2024
Merged

Conversation

szumixie
Copy link
Contributor

@szumixie szumixie commented Aug 6, 2024

The applicative operators *> and <* are not inlined in the generated GHC Core, so I added INLINE pragmas to them. As a result, parsing CSV and JSON takes around 40% less time when running the benchmarks on my machine.

@mrkkrp mrkkrp merged commit c8c9fb0 into mrkkrp:master Aug 8, 2024
4 checks passed
@mrkkrp
Copy link
Owner

mrkkrp commented Aug 8, 2024

Thanks!

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