#2089: reading the package db is slow
---------------------------------------------+------------------------------
Reporter: duncan | Owner:
Type: compile-time performance bug | Status: closed
Priority: normal | Milestone: 6.12 branch
Component: Package system | Version: 6.8.2
Severity: minor | Resolution: fixed
Keywords: | Difficulty: Moderate (1 day)
Testcase: | Os: Unknown/Multiple
Architecture: x86_64 (amd64) |
---------------------------------------------+------------------------------
Changes (by simonmar):
* status: new => closed
* resolution: => fixed
Comment:
Fixed. Reading the package DB is several times quicker for me now.
{{{
Thu Sep 10 03:27:03 PDT 2009 Simon Marlow <[email protected]>
* Change the representation of the package database
- the package DB is a directory containing one file per package
instance (#723)
- there is a binary cache of the database (#593, #2089)
- the binary package is now a boot package
- there is a new package, bin-package-db, containing the Binary
instance of InstalledPackageInfo for the binary cache.
Also included in this patch
- Use colour in 'ghc-pkg list' to indicate broken or hidden packages
Broken packages are red, hidden packages are
Colour support comes from the terminfo package, and is only used when
- not --simple-output
- stdout is a TTY
- the terminal type has colour capability
- Fix the bug that 'ghc-pkg list --user' shows everything as broken
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2089#comment:6>
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