Why not use @inlinable on functions? #167
Answered
by
stephencelis
maximkrouk
asked this question in
Q&A
-
Are there any pros to not using the @inlinalbe attribute? |
Beta Was this translation helpful? Give feedback.
Answered by
stephencelis
Oct 11, 2021
Replies: 1 comment
-
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! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
maximkrouk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!