
#12022: unsafeShiftL and unsafeShiftR are not marked as INLINE -------------------------------------+------------------------------------- Reporter: Rufflewind | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 7.10.3 Resolution: | Keywords: performance, | inline, bits Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mpickering): Is there a reason why they should be marked `INLINE`? The note seems to indicate that GHC inlines these functions anyway, they look small so I suspect this is the case. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12022#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler