[GHC] #768: Improve performance of binary serialisation for
interface files
GHC
trac at galois.com
Tue May 9 05:48:47 EDT 2006
#768: Improve performance of binary serialisation for interface files
-------------------------+--------------------------------------------------
Reporter: simonmar | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.4.1
Severity: normal | Keywords:
Os: Unknown | Difficulty: Moderate (1 day)
Architecture: Unknown |
-------------------------+--------------------------------------------------
utils/Binary.hs can be made significantly faster. See:
[http://www.haskell.org//pipermail/glasgow-haskell-users/2006-
April/010037.html]
Until we have a standard highly-tuned binary I/O library, I think applying
some optimisations to GHC's private binary library will be worthwhile.
The first thing to do is replace IORef (IOUArray Int Word8) with a fast
mutable pointer, backed by either a ForeignPtr or a MutableByteArr#.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/768>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list