logo       

[GHC] #768: Improve performance of binary serialisation for interface files: msg#00046

lang.haskell.glasgow.bugs

Subject: [GHC] #768: Improve performance of binary serialisation for interface files

#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_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise