[Hackage] #288: the package indexes are very slow
Hackage
trac at galois.com
Tue Aug 12 14:35:50 EDT 2008
#288: the package indexes are very slow
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: HEAD
Severity: normal | Resolution:
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: 6.8.2 | Platform:
---------------------------------+------------------------------------------
Changes (by duncan):
* difficulty: hard (< 1 day) => easy (<4 hours)
* version: 1.2.3.0 => HEAD
Comment:
For installed packages index, we should parse the output of `ghc-pkg dump`
lazily. See #311.
All it needs is to split on `"\n---"` as we do now, but then instead of
directly parsing, we should extract only the name and version fields and
then parse the rest lazily.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/288#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list