Skip to content

Why not use @inlinable on functions? #167

Answered by stephencelis
maximkrouk asked this question in Q&A
Discussion options

You must be logged in to vote

I'm sure a lot of the generic functions in Prelude would benefit from inlining. Prelude's an experimental library, though, so we haven't focussed on performance in the slightest, especially when compared with our other libraries.

If you experiment with inlining on your fork and have any interesting findings to share, we'd love to hear them!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by maximkrouk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants