[GHC] #12022: unsafeShiftL and unsafeShiftR are not marked as INLINE
GHC
ghc-devs at haskell.org
Fri May 6 17:53:34 UTC 2016
#12022: unsafeShiftL and unsafeShiftR are not marked as INLINE
-------------------------------------+-------------------------------------
Reporter: Rufflewind | Owner:
Type: feature | Status: new
request |
Priority: normal | Milestone:
Component: | Version: 7.10.3
libraries/base |
Keywords: performance, | Operating System: Unknown/Multiple
inline, bits |
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Given that they are fairly essential operations in core libraries such as
containers, I think it would be useful to have them marked as INLINE (or
INLINABLE at the very least).
See also: https://github.com/haskell/containers/pull/216
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12022>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list