#4442: Add unaligned version of indexWordArray#
----------------------------------+-----------------------------------------
Reporter: tibbe | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: libraries (other) | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
----------------------------------+-----------------------------------------
Comment(by simonmar):
As per discussion on glasgow-haskell-users, this can be done with a
combination of `byteArrayContents#`, `plusAddr#`, `indexWordOffAddr#`, and
`touch#`. Does that work well enough for your purposes?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4442#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs