Skip to content

Commit

Permalink
Remove NOINLINE on lowerTable (#624)
Browse files Browse the repository at this point in the history
This seems to exist for no reason, and prevents case-of-known-
constructor from eliminating an indirection in downstream modules.
  • Loading branch information
clyring authored Nov 7, 2023
1 parent bb6202c commit c8b844f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Data/ByteString/Builder/Prim/Internal/Base16.hs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ foreign import ccall "&hs_bytestring_lower_hex_table"

-- | The encoding table for hexadecimal values with lower-case characters;
-- e.g., deadbeef.
{-# NOINLINE lowerTable #-}
lowerTable :: EncodingTable
lowerTable = case c_lower_hex_table of
Ptr p# -> EncodingTable p#
Expand Down

0 comments on commit c8b844f

Please sign in to comment.