Skip to content

Commit

Permalink
Make fromString INLINEABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
Lysxia committed Mar 13, 2024
1 parent c826a6c commit c423bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Text/Internal/Builder.hs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ fromString str = Builder $ \k (Buffer p0 o0 u0 l0) ->
in loop p0 o0 u0 l0 str
where
chunkSize = smallChunkSize
{-# INLINE fromString #-}
{-# INLINEABLE fromString #-}

-- | /O(1)./ A @Builder@ taking a lazy @Text@, satisfying
--
Expand Down

0 comments on commit c423bf2

Please sign in to comment.